diff --git a/frontend/src/app/admin/hackathon/page.tsx b/frontend/src/app/admin/hackathon/page.tsx index be414079..bc495485 100644 --- a/frontend/src/app/admin/hackathon/page.tsx +++ b/frontend/src/app/admin/hackathon/page.tsx @@ -1,10 +1,12 @@ +import { headers } from 'next/headers'; + import PageTitle from '@/components/common/PageTitle'; import AdminHackathonManageTable from '@/components/ui/admin/hackathon/AdminHackathonManageTable'; import AdminHackathonSearchBox from '@/components/ui/admin/hackathon/AdminHackathonSearchBox'; + +import { HackathonManageDto } from '@/types/common.dto'; import { getAuthFromCookie } from '@/lib/utils/auth'; import { AuthSliceState } from '@/store/auth.slice'; -import { HackathonManageDto } from '@/types/common.dto'; -import { headers } from 'next/headers'; export interface HackathonListPageProps { searchParams?: { [key: string]: string | undefined }; diff --git a/frontend/src/components/ui/admin/hackathon/AdminHackathonManageTable.tsx b/frontend/src/components/ui/admin/hackathon/AdminHackathonManageTable.tsx index 460a4453..b4cf478b 100644 --- a/frontend/src/components/ui/admin/hackathon/AdminHackathonManageTable.tsx +++ b/frontend/src/components/ui/admin/hackathon/AdminHackathonManageTable.tsx @@ -1,11 +1,13 @@ 'use client'; -import { HackathonManageDto } from '@/types/common.dto'; +import { useEffect, useState } from 'react'; +import { useRouter } from 'next/navigation'; + import { MdDeleteForever } from '@react-icons/all-files/md/MdDeleteForever'; import { MdFileDownload } from '@react-icons/all-files/md/MdFileDownload'; import { MdEdit } from '@react-icons/all-files/md/MdEdit'; -import { useEffect, useState } from 'react'; -import { useRouter } from 'next/navigation'; + +import { HackathonManageDto } from '@/types/common.dto'; export interface AdminHackathonManageTableProps { hackathonInfos: HackathonManageDto[]; diff --git a/frontend/src/components/ui/admin/hackathon/AdminHackathonSearchBox.tsx b/frontend/src/components/ui/admin/hackathon/AdminHackathonSearchBox.tsx index abbe8c22..2f979421 100644 --- a/frontend/src/components/ui/admin/hackathon/AdminHackathonSearchBox.tsx +++ b/frontend/src/components/ui/admin/hackathon/AdminHackathonSearchBox.tsx @@ -1,9 +1,10 @@ 'use client'; +import { useRouter } from 'next/navigation'; +import { Form, Formik } from 'formik'; + import Dropdown from '@/components/common/formik/Dropdown'; import TextInput from '@/components/common/formik/TextInput'; -import { Form, Formik } from 'formik'; -import { useRouter } from 'next/navigation'; interface AdminHackathonSearchBoxProps { count: number;