import Header from "@/components/Current/Header";

import type { LangParams, PageArgs, UriParams } from "@/types/params";

export default function CurrentContentpageTemplate({ children, params, searchParams }: React.PropsWithChildren<PageArgs<LangParams, UriParams>>) {
  // if (!searchParams.uri) {
  //   throw new Error("Bad URI");
  // }

  return (
    <>
      {/* <Header lang={params.lang} pathname={searchParams.uri} /> */}
      {children}
    </>
  );
}

