diff --git a/components/modal/ModalButton.tsx b/components/modal/ModalButton.tsx index c248c8e0f..39a6a0250 100644 --- a/components/modal/ModalButton.tsx +++ b/components/modal/ModalButton.tsx @@ -2,7 +2,7 @@ import LoadingButton from 'components/modal/LoadingButton'; import styles from 'styles/modal/Modal.module.scss'; type ButtonProps = { - style: 'positive' | 'negative'; + style: 'positive' | 'negative' | 'close'; value: string; form?: string; isLoading?: boolean; diff --git a/components/modal/tournament/TournamentRegistryModal.tsx b/components/modal/tournament/TournamentRegistryModal.tsx index 6485a6c45..50595047c 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'), { @@ -24,6 +24,7 @@ export default function TournamentRegistryModal({ endTime, }: TournamentInfo) { const setModal = useSetRecoilState(modalState); + const Date = startTime.toString().split(':').slice(0, 2).join(':'); const registTournament = () => { console.log('토너먼트에 등록하시겠습니까.'); @@ -35,8 +36,20 @@ export default function TournamentRegistryModal({ return (