- {status === 'CANCEL'
+ {status === 'CANCELED'
? '모임 취소'
: status === 'MOIMING'
? '모임중'
diff --git a/frontend/src/pages/MoimCreationPage/MoimCreationPage.tsx b/frontend/src/pages/MoimCreationPage/MoimCreationPage.tsx
index 82080cc1d..1b671fc39 100644
--- a/frontend/src/pages/MoimCreationPage/MoimCreationPage.tsx
+++ b/frontend/src/pages/MoimCreationPage/MoimCreationPage.tsx
@@ -6,6 +6,7 @@ import useAddMoim from '@_hooks/mutaions/useAddMoim';
import useMoimInfoInput from './MoimCreatePage.hook';
import { useNavigate } from 'react-router-dom';
import { useState } from 'react';
+import ROUTES from '@_constants/routes';
export default function MoimCreationPage() {
const navigate = useNavigate();
@@ -27,7 +28,7 @@ export default function MoimCreationPage() {
return (
- navigate(-1)}>
+ navigate(ROUTES.main)}>
모임등록하기
diff --git a/frontend/src/pages/MoimDetailPage/MoimDetailPage.tsx b/frontend/src/pages/MoimDetailPage/MoimDetailPage.tsx
index 5902dfb63..fc348e70d 100644
--- a/frontend/src/pages/MoimDetailPage/MoimDetailPage.tsx
+++ b/frontend/src/pages/MoimDetailPage/MoimDetailPage.tsx
@@ -42,7 +42,6 @@ export default function MoimDetailPage() {
const { mutate: ReopenMoim } = useReopenMoim();
const { mutate: completeMoim } = useCompleteMoin();
const { mutate: cancelChamyo } = useCancelChamyo();
- console.log(moim, role, participants);
if (
isLoading ||
@@ -59,7 +58,7 @@ export default function MoimDetailPage() {
- navigate(-1)}>
+
navigate(ROUTES.main)}>
@@ -119,7 +118,11 @@ export default function MoimDetailPage() {
모집 완료하기
) : (
-