mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +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 Container from '@components/Container'
|
||||
import Wave from '@components/Wave'
|
||||
|
||||
import Toggle from './Toggle'
|
||||
import { Theme } from '@types'
|
||||
@ -100,7 +99,6 @@ const Footer = ({ theme, setTheme }: FooterProps): JSX.Element => {
|
||||
}
|
||||
|
||||
interface FooterProps {
|
||||
color?: string
|
||||
theme: Theme
|
||||
setTheme(value: Theme): void
|
||||
}
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
import Head from 'next/head'
|
||||
import type { AppProps } from 'next/app'
|
||||
import dynamic from 'next/dynamic'
|
||||
import { useRouter } from 'next/router'
|
||||
import { useEffect, useState } from 'react'
|
||||
import { GlobalHotKeys } from 'react-hotkeys'
|
||||
|
||||
@ -32,7 +31,6 @@ export default function App({ Component, pageProps, err }: KoreanbotsProps): JSX
|
||||
const [ betaKey, setBetaKey ] = useState('')
|
||||
const [ shortcutModal, setShortcutModal ] = useState(false)
|
||||
const [ theme, setTheme ] = useState<Theme>('system')
|
||||
const router = useRouter()
|
||||
|
||||
useEffect(() => {
|
||||
setBetaKey(localStorage.betaKey)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user