9 lines
269 B
TypeScript
9 lines
269 B
TypeScript
import { notFound } from "next/navigation";
|
|
|
|
// Catch-all for unknown paths under a locale (e.g. /en/asdf) so they render
|
|
// the styled not-found page inside the locale layout instead of the bare
|
|
// default 404.
|
|
export default function CatchAllPage() {
|
|
notFound();
|
|
}
|