omnivore/packages/web/pages/404.tsx
2022-02-26 17:32:12 -08:00

17 lines
515 B
TypeScript

import Head from 'next/head'
import { useRouter } from 'next/router'
import { ErrorLayout } from '../components/templates/ErrorLayout'
import { SettingsLayout } from '../components/templates/SettingsLayout'
export default function Custom404(): JSX.Element {
return (
<>
<Head>
<title>Page Not Found</title>
</Head>
<SettingsLayout title="Page could not be found">
<ErrorLayout statusCode={404} message="This page could not be found." />
</SettingsLayout>
</>
)
}