From c43e36e5252c49d9df2706076d64eaec14a8bbdd Mon Sep 17 00:00:00 2001 From: Justin Edmund <383021+jedmund@users.noreply.github.com> Date: Wed, 13 Mar 2024 19:46:13 -0700 Subject: [PATCH] Fix search modal filtering Why were we scoping this to only job_skills? --- components/search/SearchModal/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/search/SearchModal/index.tsx b/components/search/SearchModal/index.tsx index 6044c3d8..6cc18e64 100644 --- a/components/search/SearchModal/index.tsx +++ b/components/search/SearchModal/index.tsx @@ -244,7 +244,7 @@ const SearchModal = (props: Props) => { }, [query, open]) useEffect(() => { - if (open && props.object === 'job_skills') { + if (open) { setCurrentPage(1) fetchResults({ replace: true }) }