File tree Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 1
1
import { LeaderboardListDto } from '@/types/leaderboard.type' ;
2
- import { instance } from './instance.request' ;
3
2
import { PATHS } from '@/constants' ;
3
+ import { instance } from './instance.request' ;
4
4
5
5
export const leaderboardList = async ( {
6
6
based,
Original file line number Diff line number Diff line change 1
- import { usePathname } from 'next/navigation' ;
1
+ import { usePathname , useRouter } from 'next/navigation' ;
2
+ import { startHolyLoader } from 'holy-loader' ;
2
3
import { Icon , NameType } from '@/components' ;
3
4
import { COLORS } from '@/constants' ;
4
- import { useRouter } from 'next/navigation' ;
5
- import { startHolyLoader } from 'holy-loader' ;
6
5
7
6
export const defaultStyle =
8
7
'w-[180px] h-[65px] px-9 transition-all duration-300 shrink-0 max-MBI:w-[65px] max-MBI:px-0' ;
Original file line number Diff line number Diff line change 3
3
import { useMutation } from '@tanstack/react-query' ;
4
4
import { useForm } from 'react-hook-form' ;
5
5
import Image from 'next/image' ;
6
+ import { startHolyLoader , stopHolyLoader } from 'holy-loader' ;
7
+ import { useRouter } from 'next/navigation' ;
6
8
import { Input , Button } from '@/components' ;
7
9
import { login , sampleLogin } from '@/apis' ;
8
10
import { LoginVo } from '@/types' ;
9
11
10
- import { startHolyLoader , stopHolyLoader } from 'holy-loader' ;
11
- import { useRouter } from 'next/navigation' ;
12
-
13
12
const responsiveStyle =
14
13
"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" ;
15
14
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ import { ErrorBoundary } from '@sentry/nextjs';
6
6
import { ReactNode , Suspense } from 'react' ;
7
7
import type { Metadata } from 'next' ;
8
8
import './globals.css' ;
9
+ import HolyLoader from 'holy-loader' ;
9
10
import { ChannelTalkProvider , QueryProvider , ModalProvider } from '@/components' ;
10
11
import { env } from '@/constants' ;
11
- import HolyLoader from 'holy-loader' ;
12
12
13
13
export const BASE = 'https://velog-dashboard.kro.kr/' ;
14
14
You can’t perform that action at this time.
0 commit comments