We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 93b7f00 + d8559d3 commit bc0b8afCopy full SHA for bc0b8af
1 file changed
src/components/pages/group-study-detail-page.tsx
@@ -86,10 +86,13 @@ export default function StudyDetailPage({
86
group_study_id: String(groupStudyId),
87
});
88
alert('스터디가 종료되었습니다.');
89
+ router.push('/group-study');
90
+ },
91
+ onError: () => {
92
+ alert('스터디 종료에 실패하였습니다.');
93
},
94
onSettled: () => {
95
setShowModal(false);
- router.push('/study');
96
97
98
);
@@ -114,12 +117,12 @@ export default function StudyDetailPage({
114
117
115
118
116
119
alert('스터디가 삭제되었습니다.');
120
121
122
onError: () => {
123
alert('스터디 삭제에 실패하였습니다.');
124
125
126
127
128
0 commit comments