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