Skip to content

Commit 1c22d95

Browse files
committed
hotfix: import order 이슈 해결
1 parent 1cfea0a commit 1c22d95

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

src/apis/leaderboard.request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { LeaderboardListDto } from '@/types/leaderboard.type';
2-
import { instance } from './instance.request';
32
import { PATHS } from '@/constants';
3+
import { instance } from './instance.request';
44

55
export const leaderboardList = async ({
66
based,

src/app/(auth-required)/components/header/Section.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { usePathname } from 'next/navigation';
1+
import { usePathname, useRouter } from 'next/navigation';
2+
import { startHolyLoader } from 'holy-loader';
23
import { Icon, NameType } from '@/components';
34
import { COLORS } from '@/constants';
4-
import { useRouter } from 'next/navigation';
5-
import { startHolyLoader } from 'holy-loader';
65

76
export const defaultStyle =
87
'w-[180px] h-[65px] px-9 transition-all duration-300 shrink-0 max-MBI:w-[65px] max-MBI:px-0';

src/app/(login)/Content.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
import { useMutation } from '@tanstack/react-query';
44
import { useForm } from 'react-hook-form';
55
import Image from 'next/image';
6+
import { startHolyLoader, stopHolyLoader } from 'holy-loader';
7+
import { useRouter } from 'next/navigation';
68
import { Input, Button } from '@/components';
79
import { login, sampleLogin } from '@/apis';
810
import { LoginVo } from '@/types';
911

10-
import { startHolyLoader, stopHolyLoader } from 'holy-loader';
11-
import { useRouter } from 'next/navigation';
12-
1312
const responsiveStyle =
1413
"flex items-center gap-5 max-MBI:before:inline-block max-MBI:before:bg-[url('/favicon.png')] max-MBI:before:[background-size:_100%_100%] max-MBI:before:w-16 max-MBI:before:h-16";
1514

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import { ErrorBoundary } from '@sentry/nextjs';
66
import { ReactNode, Suspense } from 'react';
77
import type { Metadata } from 'next';
88
import './globals.css';
9+
import HolyLoader from 'holy-loader';
910
import { ChannelTalkProvider, QueryProvider, ModalProvider } from '@/components';
1011
import { env } from '@/constants';
11-
import HolyLoader from 'holy-loader';
1212

1313
export const BASE = 'https://velog-dashboard.kro.kr/';
1414

0 commit comments

Comments
 (0)