diff --git a/components/modal/tournament/TournamentRegistryModal.tsx b/components/modal/tournament/TournamentRegistryModal.tsx index 6485a6c45..0c020c2c0 100644 --- a/components/modal/tournament/TournamentRegistryModal.tsx +++ b/components/modal/tournament/TournamentRegistryModal.tsx @@ -7,7 +7,7 @@ import { ModalButtonContainer, ModalButton, } from 'components/modal/ModalButton'; -import styles from 'styles/modal/event/AnnouncementModal.module.scss'; +import styles from 'styles/modal/event/TournamentRegistryModal.module.scss'; import 'react-quill/dist/quill.bubble.css'; const Quill = dynamic(() => import('react-quill'), { @@ -35,8 +35,15 @@ export default function TournamentRegistryModal({ return (
+
+ +
{title}
-
{startTime.toString()}
+
{startTime.toString()}
- - - ( - 'openTorunamentInfo', - () => - instance - .get('pingpong/tournaments?page=*&type=*&status=진행중') - .then((res) => res.data), - { retry: 1, staleTime: 60000 /* 60초 */ } - ); + // const openTorunamentInfo = useQuery( + // 'openTorunamentInfo', + // () => + // instance + // .get('pingpong/tournaments?page=*&type=*&status=진행중') + // .then((res) => res.data), + // { retry: 1, staleTime: 60000 /* 60초 */ } + // ); - const waitTournamentInfo = useQuery( - 'waitTournamentInfo', - () => - instance - .get('pingpong/tournaments?page=*&type=*&status=예정') - .then((res) => res.data), - { retry: 1, staleTime: 60000 /* 60초 */ } - ); + // const waitTournamentInfo = useQuery( + // 'waitTournamentInfo', + // () => + // instance + // .get('pingpong/tournaments?page=*&type=*&status=예정') + // .then((res) => res.data), + // { retry: 1, staleTime: 60000 /* 60초 */ } + // ); - if (openTorunamentInfo.isError || waitTournamentInfo.isError) { - setError('junhjeon'); - } + // if (openTorunamentInfo.isError || waitTournamentInfo.isError) { + // setError('junhjeon'); + // } return (