Skip to content

Commit

Permalink
modify: add userInfo to useEffect deps
Browse files Browse the repository at this point in the history
  • Loading branch information
GanghyeonSeo committed Jun 5, 2024
1 parent c0f066c commit 9ff2073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function MainPage() {
};

fetchUserInfo();
}, [user]);
}, [user, userInfo]);

const renderTodayLookBook = () => {
if (!lookBookData || !lookBookData.list || lookBookData.list.length === 0) {
Expand Down

0 comments on commit 9ff2073

Please sign in to comment.