mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 06:20:24 +00:00
style: added space at dynamic import
This commit is contained in:
parent
682ee1df06
commit
f5e6a536fd
@ -23,6 +23,7 @@ const SEO = dynamic(()=> import('@components/SEO'))
|
|||||||
const LongButton = dynamic(() => import('@components/LongButton'))
|
const LongButton = dynamic(() => import('@components/LongButton'))
|
||||||
const Advertisement = dynamic(() => import('@components/Advertisement'))
|
const Advertisement = dynamic(() => import('@components/Advertisement'))
|
||||||
const Tooltip = dynamic(() => import('@components/Tooltip'))
|
const Tooltip = dynamic(() => import('@components/Tooltip'))
|
||||||
|
const Markdown = dynamic(() => import ('@components/Markdown'))
|
||||||
|
|
||||||
const Bots: NextPage<BotsProps> = ({ data, date }) => {
|
const Bots: NextPage<BotsProps> = ({ data, date }) => {
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
|
|||||||
@ -1,13 +1,15 @@
|
|||||||
import { NextPage, NextPageContext } from 'next'
|
import { NextPage, NextPageContext } from 'next'
|
||||||
import { useEffect, useState } from 'react'
|
import dynamic from 'next/dynamic'
|
||||||
import { useRouter } from 'next/router'
|
import { useRouter } from 'next/router'
|
||||||
|
import { useEffect, useState } from 'react'
|
||||||
|
|
||||||
import { verify } from '@utils/Jwt'
|
import { verify } from '@utils/Jwt'
|
||||||
import { get } from '@utils/Query'
|
import { get } from '@utils/Query'
|
||||||
import { parseCookie, redirectTo } from '@utils/Tools'
|
import { parseCookie, redirectTo } from '@utils/Tools'
|
||||||
import Loader from '@components/Loader'
|
|
||||||
import { User } from '@types'
|
import { User } from '@types'
|
||||||
|
|
||||||
|
const Loader = dynamic(() => import('@components/Loader'))
|
||||||
|
|
||||||
const DiscordCallback:NextPage<DiscordCallbackProps> = ({ data }) => {
|
const DiscordCallback:NextPage<DiscordCallbackProps> = ({ data }) => {
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const [ redirect, setRedirect ] = useState(false)
|
const [ redirect, setRedirect ] = useState(false)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user