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: '',