mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
17 lines
515 B
TypeScript
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>
|
|
</>
|
|
)
|
|
}
|