From 3de4adb0fc5122bd6e88989d9ca0b1491deda4d4 Mon Sep 17 00:00:00 2001 From: Zoia <43918051+zizi62@users.noreply.github.com> Date: Thu, 3 Dec 2020 07:38:51 -0500 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20OTT-586=20(#238)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added argument in useEffect Co-authored-by: Zoia --- src/features/Search/hooks/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,