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 }) }