Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

프로필 모달 뜨기 전에 우선 요청 가도록 구현 #965

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions src/components/page/meetingDetail/MeetingController/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,19 +142,20 @@ 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');

return;
}

if (!me?.hasActivities) {
handleProfileModalOpen();
return;
}

const dialogOption: DialogOptionType = {
title: '신청을 취소하시겠습니까?',
description: '',
Expand Down
Loading