From 733bf2bb65b63cce92bb5dccfea394f2bccef1e9 Mon Sep 17 00:00:00 2001 From: Ryou_Changyu Date: Tue, 30 Nov 2021 22:42:27 +0900 Subject: [PATCH] =?UTF-8?q?:bug:=20detailPage=20login=20=EB=B2=84=EA=B7=B8?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit login 후 detailPage data fetch 하지 않는 문제 수정 --- src/components/MeetingDetailPage/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/MeetingDetailPage/index.tsx b/src/components/MeetingDetailPage/index.tsx index b227cab2..b395e4a7 100644 --- a/src/components/MeetingDetailPage/index.tsx +++ b/src/components/MeetingDetailPage/index.tsx @@ -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) {