diff --git a/app/src/components/search/SearchPage.js b/app/src/components/search/SearchPage.js index 1c765eac..149d15e9 100644 --- a/app/src/components/search/SearchPage.js +++ b/app/src/components/search/SearchPage.js @@ -16,29 +16,27 @@ export default function SearchPage() { return ( - - - - Search results for "{queryValue}" - - - -
- -
- <> - {!isLoading ? ( - - {data?.map((searchType) => ( - - - - ))} - - ) : ( - - )} - + + + + + Search results for "{queryValue}" + + + + + + {!isLoading ? ( + <> + {data?.map((searchType) => ( + + + + ))} + + ) : ( + + )}
); } diff --git a/app/src/components/search/SearchResultBox.js b/app/src/components/search/SearchResultBox.js index 08fcbbae..42582661 100644 --- a/app/src/components/search/SearchResultBox.js +++ b/app/src/components/search/SearchResultBox.js @@ -25,7 +25,7 @@ export function SearchResultBox({ searchText, type }) { if (isFetching || isLoading) { return ( - + {type.label}s
@@ -36,7 +36,7 @@ export function SearchResultBox({ searchText, type }) { } return ( - + {type.label}s {r.count > 0 && <>({r.count})}