import Header from "@/components/Header"
import { setLang } from "@/i18n/serverContext"

import type { LangParams, LayoutArgs } from "@/types/params"

export default function HeaderLayout({ params }: LayoutArgs<LangParams>) {
  setLang(params.lang)

  return <Header />
}
