Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,14 @@ const ApplicationFormPage = () => {
try {
await applyToClub(clubId, answers);
localStorage.removeItem(STORAGE_KEY);
alert('답변이 성공적으로 제출되었습니다.');
alert(
`"${clubDetail.name}" 동아리에 성공적으로 지원되었습니다.\n좋은 결과 있으시길 바랍니다🤗`,
);
navigate(`/club/${clubId}`, { replace: true });
} catch {
alert('답변 제출에 실패했습니다. 잠시 후 다시 시도해 주세요.');
alert(
'⚠️ 답변 제출에 실패했어요.\n네트워크 상태를 확인하거나 잠시 후 다시 시도해 주세요.',
);
}
};

Expand Down