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
|