mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 06:20:24 +00:00
style: fix unused variable
This commit is contained in:
parent
38ed36247b
commit
08cc81ba90
@ -1,6 +1,5 @@
|
|||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import Container from '@components/Container'
|
import Container from '@components/Container'
|
||||||
import Wave from '@components/Wave'
|
|
||||||
|
|
||||||
import Toggle from './Toggle'
|
import Toggle from './Toggle'
|
||||||
import { Theme } from '@types'
|
import { Theme } from '@types'
|
||||||
@ -100,7 +99,6 @@ const Footer = ({ theme, setTheme }: FooterProps): JSX.Element => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface FooterProps {
|
interface FooterProps {
|
||||||
color?: string
|
|
||||||
theme: Theme
|
theme: Theme
|
||||||
setTheme(value: Theme): void
|
setTheme(value: Theme): void
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
import Head from 'next/head'
|
import Head from 'next/head'
|
||||||
import type { AppProps } from 'next/app'
|
import type { AppProps } from 'next/app'
|
||||||
import dynamic from 'next/dynamic'
|
import dynamic from 'next/dynamic'
|
||||||
import { useRouter } from 'next/router'
|
|
||||||
import { useEffect, useState } from 'react'
|
import { useEffect, useState } from 'react'
|
||||||
import { GlobalHotKeys } from 'react-hotkeys'
|
import { GlobalHotKeys } from 'react-hotkeys'
|
||||||
|
|
||||||
@ -32,7 +31,6 @@ export default function App({ Component, pageProps, err }: KoreanbotsProps): JSX
|
|||||||
const [ betaKey, setBetaKey ] = useState('')
|
const [ betaKey, setBetaKey ] = useState('')
|
||||||
const [ shortcutModal, setShortcutModal ] = useState(false)
|
const [ shortcutModal, setShortcutModal ] = useState(false)
|
||||||
const [ theme, setTheme ] = useState<Theme>('system')
|
const [ theme, setTheme ] = useState<Theme>('system')
|
||||||
const router = useRouter()
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setBetaKey(localStorage.betaKey)
|
setBetaKey(localStorage.betaKey)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user