Commit add2a861 authored by tom's avatar tom

text color fix

parent e7df504b
......@@ -20,7 +20,6 @@ const SearchBarSuggest = ({ query, searchTerm }: Props) => {
const content = (() => {
if (query.isLoading) {
return <ContentLoader text="We are searching, please wait... "/>;
return <Box>loading...</Box>;
}
if (query.isError) {
......@@ -31,7 +30,7 @@ const SearchBarSuggest = ({ query, searchTerm }: Props) => {
return (
<>
<Box fontWeight={ 500 } fontSize="sm">Found <Text fontWeight={ 700 } as="span">{ num }</Text> matching results</Box>
<Text fontWeight={ 500 } fontSize="sm">Found <Text fontWeight={ 700 } as="span">{ num }</Text> matching results</Text>
{ query.data.items.map((item, index) => <SearchBarSuggestItem key={ index } data={ item } isMobile={ isMobile } searchTerm={ searchTerm }/>) }
</>
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment