Remove unused router

This commit is contained in:
2023-03-05 13:49:47 +04:00
parent 4a6c4dc46a
commit b565407c00
-3
View File
@@ -1,4 +1,3 @@
import {useRouter} from 'next/router'
import PropTypes from 'prop-types'
import Container from '@mui/material/Container'
import Typography from '@mui/material/Typography'
@@ -14,8 +13,6 @@ import KatKayLa from '../components/kat-kay-la'
import Custom500 from './500'
export default function Home({errorCode, errorMessage, stats}) {
const router = useRouter()
if (errorCode) {
console.log('⚠️ error', errorMessage)
return <Custom500 statusCode={errorCode} />