Files
web/app/[lang]/(live-current)/not-found.tsx
2024-06-14 07:52:16 +02:00

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} />
}