Skip to content

Commit

Permalink
🐛 detailPage login 버그 수정
Browse files Browse the repository at this point in the history
login 후 detailPage data fetch 하지 않는 문제 수정
  • Loading branch information
Changyu-Ryou committed Nov 30, 2021
1 parent a37cf14 commit 733bf2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/MeetingDetailPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ const MeetingDetailPage = () => {
};

useEffect(() => {
if (matchId?.params.id && !data) fetchData(matchId.params.id);
}, [data, fetchData, matchId.params.id]);
if (matchId?.params.id) fetchData(matchId.params.id);
}, [fetchData, matchId.params.id, userInfo]);

useEffect(() => {
if (isRoot && data && !sendLogEvent && userInfo && fromFeed) {
Expand Down

0 comments on commit 733bf2b

Please sign in to comment.