Skip to content

Commit 3b19f13

Browse files
committed
chore: fix spacing in return link
1 parent bb7e283 commit 3b19f13

File tree

5 files changed

+40
-40
lines changed

5 files changed

+40
-40
lines changed

pages/bots/[id]/report.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1+
import { Field, Form, Formik } from 'formik'
12
import { NextPage } from 'next'
2-
import Link from 'next/link'
33
import dynamic from 'next/dynamic'
4-
import { Field, Form, Formik } from 'formik'
4+
import Link from 'next/link'
55

66
import { Bot, CsrfContext, ResponseProps, User } from '@types'
77
import { get } from '@utils/Query'
88
import { makeBotURL, parseCookie } from '@utils/Tools'
99

1010
import { ParsedUrlQuery } from 'querystring'
1111

12-
import NotFound from 'pages/404'
13-
import { getToken } from '@utils/Csrf'
1412
import { DMCA, TextField } from '@components/ReportTemplate'
15-
import { useState } from 'react'
13+
import { reportCats } from '@utils/Constants'
14+
import { getToken } from '@utils/Csrf'
1615
import Fetch from '@utils/Fetch'
1716
import { ReportSchema } from '@utils/Yup'
1817
import { getJosaPicker } from 'josa'
19-
import { reportCats } from '@utils/Constants'
2018
import { NextSeo } from 'next-seo'
19+
import NotFound from 'pages/404'
20+
import { useState } from 'react'
2121

2222
const Container = dynamic(() => import('@components/Container'))
2323
const Message = dynamic(() => import('@components/Message'))
@@ -37,7 +37,7 @@ const ReportBot: NextPage<ReportBotProps> = ({ data, user, csrfToken }) => {
3737
<NextSeo title={`${data.name} 신고하기`} />
3838
<Link href={makeBotURL(data)} className='text-blue-500 hover:opacity-80'>
3939
<i className='fas fa-arrow-left mb-3 mt-3' /> <strong>{data.name}</strong>
40-
{getJosaPicker('로')(data.name)}돌아가기
40+
{getJosaPicker('로')(data.name)} 돌아가기
4141
</Link>
4242
{reportRes?.code === 200 ? (
4343
<Message type='success'>

pages/bots/[id]/vote.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
import { NextPage } from 'next'
2-
import Link from 'next/link'
32
import dynamic from 'next/dynamic'
3+
import Link from 'next/link'
44
import { useRouter } from 'next/router'
55

66
import { Bot, CsrfContext, ResponseProps, Theme, User } from '@types'
77
import { get } from '@utils/Query'
8-
import { makeBotURL, parseCookie, checkBotFlag } from '@utils/Tools'
8+
import { checkBotFlag, makeBotURL, parseCookie } from '@utils/Tools'
99

1010
import { ParsedUrlQuery } from 'querystring'
1111

12-
import NotFound from 'pages/404'
13-
import { getToken } from '@utils/Csrf'
1412
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'
1716
import Day from '@utils/Day'
17+
import Fetch from '@utils/Fetch'
1818
import { getJosaPicker } from 'josa'
19-
import { KoreanbotsEndPoints } from '@utils/Constants'
2019
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'
2222

2323
const Container = dynamic(() => import('@components/Container'))
2424
const DiscordAvatar = dynamic(() => import('@components/DiscordAvatar'))
@@ -98,7 +98,7 @@ const VoteBot: NextPage<VoteBotProps> = ({ data, user, theme, csrfToken }) => {
9898
<Advertisement />
9999
<Link href={makeBotURL(data)} className='text-blue-500 hover:opacity-80'>
100100
<i className='fas fa-arrow-left mb-3 mt-3' /> <strong>{data.name}</strong>
101-
{getJosaPicker('로')(data.name)}돌아가기
101+
{getJosaPicker('로')(data.name)} 돌아가기
102102
</Link>
103103
<Segment className='mb-16 py-8'>
104104
<div className='text-center'>

pages/servers/[id]/report.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1+
import { Field, Form, Formik } from 'formik'
12
import { NextPage } from 'next'
2-
import Link from 'next/link'
33
import dynamic from 'next/dynamic'
4-
import { Field, Form, Formik } from 'formik'
4+
import Link from 'next/link'
55

6-
import { Server, CsrfContext, ResponseProps, User } from '@types'
6+
import { CsrfContext, ResponseProps, Server, User } from '@types'
77
import { get } from '@utils/Query'
88
import { makeServerURL, parseCookie } from '@utils/Tools'
99

1010
import { ParsedUrlQuery } from 'querystring'
1111

12-
import NotFound from 'pages/404'
13-
import { getToken } from '@utils/Csrf'
1412
import { DMCA, TextField } from '@components/ReportTemplate'
15-
import { useState } from 'react'
13+
import { serverReportCats } from '@utils/Constants'
14+
import { getToken } from '@utils/Csrf'
1615
import Fetch from '@utils/Fetch'
1716
import { ReportSchema } from '@utils/Yup'
1817
import { getJosaPicker } from 'josa'
19-
import { serverReportCats } from '@utils/Constants'
2018
import { NextSeo } from 'next-seo'
19+
import NotFound from 'pages/404'
20+
import { useState } from 'react'
2121

2222
const Container = dynamic(() => import('@components/Container'))
2323
const Message = dynamic(() => import('@components/Message'))
@@ -37,7 +37,7 @@ const ReportServer: NextPage<ReportServerProps> = ({ data, user, csrfToken }) =>
3737
<NextSeo title={`${data.name} 신고하기`} />
3838
<Link href={makeServerURL(data)} className='text-blue-500 hover:opacity-80'>
3939
<i className='fas fa-arrow-left mb-3 mt-3' /> <strong>{data.name}</strong>
40-
{getJosaPicker('로')(data.name)}돌아가기
40+
{getJosaPicker('로')(data.name)} 돌아가기
4141
</Link>
4242
{reportRes?.code === 200 ? (
4343
<Message type='success'>

pages/servers/[id]/vote.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
import { NextPage } from 'next'
2-
import Link from 'next/link'
32
import dynamic from 'next/dynamic'
3+
import Link from 'next/link'
44
import { useRouter } from 'next/router'
55

66
import { CsrfContext, ResponseProps, Server, Theme, User } from '@types'
77
import { get } from '@utils/Query'
8-
import { parseCookie, checkServerFlag, makeServerURL } from '@utils/Tools'
8+
import { checkServerFlag, makeServerURL, parseCookie } from '@utils/Tools'
99

1010
import { ParsedUrlQuery } from 'querystring'
1111

12-
import NotFound from 'pages/404'
13-
import { getToken } from '@utils/Csrf'
1412
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'
1716
import Day from '@utils/Day'
17+
import Fetch from '@utils/Fetch'
1818
import { getJosaPicker } from 'josa'
19-
import { KoreanbotsEndPoints } from '@utils/Constants'
2019
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'
2222

2323
const Container = dynamic(() => import('@components/Container'))
2424
const ServerIcon = dynamic(() => import('@components/ServerIcon'))
@@ -99,7 +99,7 @@ const VoteServer: NextPage<VoteServerProps> = ({ data, user, theme, csrfToken })
9999
<Advertisement />
100100
<Link href={makeServerURL(data)} className='text-blue-500 hover:opacity-80'>
101101
<i className='fas fa-arrow-left mb-3 mt-3' /> <strong>{data.name}</strong>
102-
{getJosaPicker('로')(data.name)}돌아가기
102+
{getJosaPicker('로')(data.name)} 돌아가기
103103
</Link>
104104
<Segment className='mb-16 py-8'>
105105
<div className='text-center'>

pages/users/[id]/report.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1+
import { Field, Form, Formik } from 'formik'
12
import { NextPage } from 'next'
2-
import Link from 'next/link'
33
import dynamic from 'next/dynamic'
4-
import { Field, Form, Formik } from 'formik'
4+
import Link from 'next/link'
55

66
import { CsrfContext, ResponseProps, User } from '@types'
77
import { get } from '@utils/Query'
88
import { makeUserURL, parseCookie } from '@utils/Tools'
99

1010
import { ParsedUrlQuery } from 'querystring'
1111

12-
import NotFound from 'pages/404'
13-
import { getToken } from '@utils/Csrf'
1412
import { DMCA, TextField } from '@components/ReportTemplate'
15-
import { useState } from 'react'
13+
import { reportCats } from '@utils/Constants'
14+
import { getToken } from '@utils/Csrf'
1615
import Fetch from '@utils/Fetch'
1716
import { ReportSchema } from '@utils/Yup'
1817
import { getJosaPicker } from 'josa'
19-
import { reportCats } from '@utils/Constants'
2018
import { NextSeo } from 'next-seo'
19+
import NotFound from 'pages/404'
20+
import { useState } from 'react'
2121

2222
const Container = dynamic(() => import('@components/Container'))
2323
const Message = dynamic(() => import('@components/Message'))
@@ -50,7 +50,7 @@ const ReportUser: NextPage<ReportUserProps> = ({ data, user, csrfToken }) => {
5050
<NextSeo title={`${data.globalName} 신고하기`} />
5151
<Link href={makeUserURL(data)} className='text-blue-500 hover:opacity-80'>
5252
<i className='fas fa-arrow-left mb-3 mt-3' /> <strong>{data.globalName}</strong>
53-
{getJosaPicker('로')(data.globalName)}돌아가기
53+
{getJosaPicker('로')(data.globalName)} 돌아가기
5454
</Link>
5555
{reportRes?.code === 200 ? (
5656
<Message type='success'>

0 commit comments

Comments
 (0)