From e9dad92ceba7292daccbba5f5970799f3824d9ce Mon Sep 17 00:00:00 2001 From: Lwin Moe Paing Date: Mon, 23 Oct 2023 18:06:49 +0630 Subject: [PATCH] :bug: fix(hook): use profile hook deps --- src/hooks/profile/useProfileHook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/profile/useProfileHook.ts b/src/hooks/profile/useProfileHook.ts index 7b835c6..04cb142 100644 --- a/src/hooks/profile/useProfileHook.ts +++ b/src/hooks/profile/useProfileHook.ts @@ -61,7 +61,7 @@ const useProfileHook = (initProfiles: Profile[], initSearchTag: string) => { setSearchTag(tagName); }, - [profiles, searchTag, uniqueTags] + [profiles, searchedTags, uniqueTags] ); const filteredProfiles = useMemo(() => {