diff --git a/src/features/Search/hooks/index.tsx b/src/features/Search/hooks/index.tsx index 394921f9..834ae28d 100644 --- a/src/features/Search/hooks/index.tsx +++ b/src/features/Search/hooks/index.tsx @@ -31,7 +31,7 @@ export const useSearch = () => { useEffect(() => { reset() - }, [reset]) + }, [reset, isOpen]) return { close,