Skip to content

Commit

Permalink
refactor: import 구문 순서 정리
Browse files Browse the repository at this point in the history
  • Loading branch information
llddang committed Dec 11, 2024
1 parent 66bdf06 commit d644ae6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
6 changes: 4 additions & 2 deletions frontend/src/app/admin/hackathon/page.tsx
Original file line number Diff line number Diff line change
@@ -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 };
Expand Down
Original file line number Diff line number Diff line change
@@ -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[];
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit d644ae6

Please sign in to comment.