|
1 | 1 | import { NextPage } from 'next' |
2 | | -import Link from 'next/link' |
3 | 2 | import dynamic from 'next/dynamic' |
| 3 | +import Link from 'next/link' |
4 | 4 | import { useRouter } from 'next/router' |
5 | 5 |
|
6 | 6 | import { CsrfContext, ResponseProps, Server, Theme, User } from '@types' |
7 | 7 | import { get } from '@utils/Query' |
8 | | -import { parseCookie, checkServerFlag, makeServerURL } from '@utils/Tools' |
| 8 | +import { checkServerFlag, makeServerURL, parseCookie } from '@utils/Tools' |
9 | 9 |
|
10 | 10 | import { ParsedUrlQuery } from 'querystring' |
11 | 11 |
|
12 | | -import NotFound from 'pages/404' |
13 | | -import { getToken } from '@utils/Csrf' |
14 | 12 | import Captcha from '@components/Captcha' |
15 | | -import { useEffect, useRef, useState } from 'react' |
16 | | -import Fetch from '@utils/Fetch' |
| 13 | +import SetNotification, { getFCMToken } from '@components/FCM' |
| 14 | +import { KoreanbotsEndPoints } from '@utils/Constants' |
| 15 | +import { getToken } from '@utils/Csrf' |
17 | 16 | import Day from '@utils/Day' |
| 17 | +import Fetch from '@utils/Fetch' |
18 | 18 | import { getJosaPicker } from 'josa' |
19 | | -import { KoreanbotsEndPoints } from '@utils/Constants' |
20 | 19 | import { NextSeo } from 'next-seo' |
21 | | -import SetNotification, { getFCMToken } from '@components/FCM' |
| 20 | +import NotFound from 'pages/404' |
| 21 | +import { useEffect, useRef, useState } from 'react' |
22 | 22 |
|
23 | 23 | const Container = dynamic(() => import('@components/Container')) |
24 | 24 | const ServerIcon = dynamic(() => import('@components/ServerIcon')) |
@@ -99,7 +99,7 @@ const VoteServer: NextPage<VoteServerProps> = ({ data, user, theme, csrfToken }) |
99 | 99 | <Advertisement /> |
100 | 100 | <Link href={makeServerURL(data)} className='text-blue-500 hover:opacity-80'> |
101 | 101 | <i className='fas fa-arrow-left mb-3 mt-3' /> <strong>{data.name}</strong> |
102 | | - {getJosaPicker('로')(data.name)}돌아가기 |
| 102 | + {getJosaPicker('로')(data.name)} 돌아가기 |
103 | 103 | </Link> |
104 | 104 | <Segment className='mb-16 py-8'> |
105 | 105 | <div className='text-center'> |
|
0 commit comments