Skip to content

Commit

Permalink
🐛 fix(hook): use profile hook deps
Browse files Browse the repository at this point in the history
  • Loading branch information
lwinmoepaing committed Oct 23, 2023
1 parent bb26297 commit e9dad92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/profile/useProfileHook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const useProfileHook = (initProfiles: Profile[], initSearchTag: string) => {

setSearchTag(tagName);
},
[profiles, searchTag, uniqueTags]
[profiles, searchedTags, uniqueTags]
);

const filteredProfiles = useMemo(() => {
Expand Down

0 comments on commit e9dad92

Please sign in to comment.