diff --git a/src/pages/_error.tsx b/src/pages/_error.tsx deleted file mode 100644 index e4536e89..00000000 --- a/src/pages/_error.tsx +++ /dev/null @@ -1,81 +0,0 @@ -import { NextPageContext, NextComponentType } from 'next'; -import Image from 'next/image'; -import notFounded from '../assets/svg/404.svg'; -import tcLogo from '../assets/svg/tc-logo.svg'; -import CustomButton from '../components/global/CustomButton'; -import { useRouter } from 'next/router'; - -interface ErrorPageProps { - statusCode?: number; -} - -const ErrorPage: NextComponentType< - NextPageContext, - ErrorPageProps, - ErrorPageProps -> = () => { - const router = useRouter(); - - return ( -
What could have caused this?
-- The link you clicked might be old and does not work anymore. -
-- Or you might have accidentally typed the wrong URL in the - address bar. -
-What you can do
-- You might retype the URL or try some helpful links instead: -
-