Skip to content

Commit

Permalink
refactor(useProfileInitialization): 의존성 배열 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
simorimi committed Oct 21, 2024
1 parent 0ec73d3 commit 3f18f98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const useProfileInitialization = ({
useEffect(() => {
if (userNickname) updateNickname(userNickname);
if (userProfileImageUrl) updateProfileImageUrl(userProfileImageUrl);
}, [userNickname, userProfileImageUrl]);
}, [userNickname, userProfileImageUrl, updateNickname, updateProfileImageUrl]);
};

export default useProfileInitialization;

0 comments on commit 3f18f98

Please sign in to comment.