13 lines
306 B
TypeScript
13 lines
306 B
TypeScript
import { headers } from "next/headers"
|
|
|
|
import { Lang } from "@/constants/languages"
|
|
|
|
import NotFound from "@/components/Current/NotFound"
|
|
|
|
export default function NotFoundPage() {
|
|
const headersList = headers()
|
|
const lang = headersList.get("x-sh-language") as Lang
|
|
|
|
return <NotFound lang={lang} />
|
|
}
|