From db9fe8b21c25e2cec3ffe47671c84b22f5c94fa9 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Wed, 21 Feb 2024 23:12:36 -0500 Subject: [PATCH] Fix infinite scrolling in search modals --- components/search/SearchModal/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/search/SearchModal/index.tsx b/components/search/SearchModal/index.tsx index 3b7734ac..6044c3d8 100644 --- a/components/search/SearchModal/index.tsx +++ b/components/search/SearchModal/index.tsx @@ -486,7 +486,7 @@ const SearchModal = (props: Props) => { {filterBar()} -
+
{t('search.result_count', { record_count: recordCount })} @@ -503,7 +503,7 @@ const SearchModal = (props: Props) => {
)}
- {open ? renderResults() : ''} + {open && renderResults()}