Skip to content

Commit

Permalink
fix: 빌드 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
llddang committed Dec 8, 2024
1 parent d7403f5 commit d5ef14c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/app/admin/hackathon/register/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export default function HackathonCreatePage() {
}

export type HackathonInfo = Omit<HackathonDto, 'bannerImage' | 'id'> & { bannerImage: File | null };
export const hackathonInfoInitialValue: HackathonInfo = {
const hackathonInfoInitialValue: HackathonInfo = {
name: '',
content: '',
bannerImage: null,
Expand All @@ -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()
Expand Down

0 comments on commit d5ef14c

Please sign in to comment.