From d5ef14c3660c8e3668803656ba764fe787200be4 Mon Sep 17 00:00:00 2001 From: llddang Date: Sun, 8 Dec 2024 19:50:44 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B9=8C=EB=93=9C=20=EC=98=A4=EB=A5=98?= =?UTF-8?q?=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #230 --- frontend/src/app/admin/hackathon/register/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/admin/hackathon/register/page.tsx b/frontend/src/app/admin/hackathon/register/page.tsx index c2fba2db..b6010a47 100644 --- a/frontend/src/app/admin/hackathon/register/page.tsx +++ b/frontend/src/app/admin/hackathon/register/page.tsx @@ -160,7 +160,7 @@ export default function HackathonCreatePage() { } export type HackathonInfo = Omit & { bannerImage: File | null }; -export const hackathonInfoInitialValue: HackathonInfo = { +const hackathonInfoInitialValue: HackathonInfo = { name: '', content: '', bannerImage: null, @@ -171,7 +171,7 @@ export const hackathonInfoInitialValue: HackathonInfo = { teamCode: '', }; -export const hackathonValidationSchema = Yup.object().shape({ +const hackathonValidationSchema = Yup.object().shape({ name: Yup.string().max(15, '대회명을 50자 이내로 입력해주세요.').required('등록할 대회명을 입력해주세요.'), content: Yup.string().required('등록할 대회의 상세정보를 입력해주세요.'), bannerImage: Yup.mixed()