From e142ad385d35975822df51ca6a488a657c58d35d Mon Sep 17 00:00:00 2001 From: atanasster Date: Sun, 15 Nov 2020 20:13:34 -0500 Subject: [PATCH] fix: search in JSX doc.description --- ui/blocks/src/Search/Search.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ui/blocks/src/Search/Search.tsx b/ui/blocks/src/Search/Search.tsx index 63813af49..0befdeae0 100644 --- a/ui/blocks/src/Search/Search.tsx +++ b/ui/blocks/src/Search/Search.tsx @@ -15,7 +15,7 @@ interface SearchObject { id: string; title: string; type: string; - description?: string | JSX.Element; + description?: string; body?: string; author?: string; stories?: string[]; @@ -42,7 +42,10 @@ export const Search: FC story.split('-').join(' ')),