mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-12-08 00:44:30 +01:00
21 lines
387 B
TypeScript
21 lines
387 B
TypeScript
|
"use client"
|
||
|
|
||
|
import Error from "next/error"
|
||
|
|
||
|
/**
|
||
|
* Render the default Next.js 404 page when a route
|
||
|
* is requested that doesn't match the middleware and
|
||
|
* therefore doesn't have a locale associated with it.
|
||
|
*/
|
||
|
const NotFound: React.FC = () => {
|
||
|
return (
|
||
|
<html lang="en">
|
||
|
<body>
|
||
|
<Error statusCode={404} />
|
||
|
</body>
|
||
|
</html>
|
||
|
)
|
||
|
}
|
||
|
|
||
|
export default NotFound
|