From 1340044ce4efd433d3a329a41768f7ce43f6b276 Mon Sep 17 00:00:00 2001 From: ocahs9 Date: Fri, 22 Nov 2024 16:38:21 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=94=84=EB=A1=9C=ED=95=84=20=EC=9E=91?= =?UTF-8?q?=EC=84=B1=ED=95=98=EC=A7=80=20=EC=95=8A=EC=9D=80=20=EC=82=AC?= =?UTF-8?q?=EB=9E=8C=EB=8F=84=20=EC=9A=B0=EC=84=A0=20=EC=8B=A0=EC=B2=AD=20?= =?UTF-8?q?=EC=9A=94=EC=B2=AD=EC=9D=80=20=EB=90=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../page/meetingDetail/MeetingController/index.tsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/page/meetingDetail/MeetingController/index.tsx b/src/components/page/meetingDetail/MeetingController/index.tsx index 2e21a05b..d531c2c8 100644 --- a/src/components/page/meetingDetail/MeetingController/index.tsx +++ b/src/components/page/meetingDetail/MeetingController/index.tsx @@ -142,12 +142,8 @@ const MeetingController = ({ }; const handleApplicationModal = () => { - if (!me?.hasActivities) { - handleProfileModalOpen(); - return; - } if (!isApplied) { - ampli.clickRegisterGroup({ user_id: Number(me.orgId) }); + ampli.clickRegisterGroup({ user_id: Number(me?.orgId) }); //handleDefaultModalOpen(); //setModalTitle('모임 신청하기'); handleApplicationButton('No resolution'); @@ -155,6 +151,11 @@ const MeetingController = ({ return; } + if (!me?.hasActivities) { + handleProfileModalOpen(); + return; + } + const dialogOption: DialogOptionType = { title: '신청을 취소하시겠습니까?', description: '',