Skip to content

Commit

Permalink
add back missing dependency for useEffect in useProfilesRecoil
Browse files Browse the repository at this point in the history
  • Loading branch information
huichiaotsou committed Jul 14, 2022
1 parent b8fe20f commit 86a6d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/recoil/profiles/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const useProfilesRecoil = (addresses: string[]): AvatarName[] => {
if (chainConfig.extra.profile) {
fetchProfiles();
}
}, []);
}, [delegatorAddresses]);

return profiles;
};

0 comments on commit 86a6d40

Please sign in to comment.