build bug fixed

This commit is contained in:
parsa aghaei 2024-10-20 15:41:31 +03:30
parent 22be1be11c
commit 9feb88e78e

View File

@ -5,11 +5,10 @@ import SelectLanguage from "../selectLanguage/selectLanguage";
import { cookies } from "next/headers";
import { getDictionary } from "@/app/lib/functions/dictionaries";
import { getDefaultLocale } from "@/app/lib/functions/utils";
import { RequestCookie } from "next/dist/compiled/@edge-runtime/cookies";
export default async function Header() {
const dict = await getDictionary(getDefaultLocale());
const siteCookies: RequestCookie[] = cookies().getAll();
return (
<div
className="fixed z-40 flex h-[67px] w-full items-center justify-between bg-[#fff] px-2 py-[50px] xl:px-10"