diff --git a/src/pages/search.tsx b/src/pages/search.tsx index 8ba43cc66..5e90d63ae 100644 --- a/src/pages/search.tsx +++ b/src/pages/search.tsx @@ -42,8 +42,9 @@ export default function PageGatsbySearch(props: PageProps): ReactElement { } description={ totalPagesNumber && - totalPagesNumber > MAXIMUM_NUMBER_OF_PAGES_WITH_RESULTS && - '**Results displayed are limited to the first 10k, please refine your search.**' + totalPagesNumber > MAXIMUM_NUMBER_OF_PAGES_WITH_RESULTS + ? '**Results displayed are limited to the first 10k, please refine your search.**' + : undefined } uri={props.uri} >