From 9feb88e78eba9b2bc4570ab29f8b21882ef63838 Mon Sep 17 00:00:00 2001 From: parsa aghaei Date: Sun, 20 Oct 2024 15:41:31 +0330 Subject: [PATCH] build bug fixed --- src/app/(routes)/(website)/components/header/header.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/(routes)/(website)/components/header/header.tsx b/src/app/(routes)/(website)/components/header/header.tsx index d73435f..9d68452 100644 --- a/src/app/(routes)/(website)/components/header/header.tsx +++ b/src/app/(routes)/(website)/components/header/header.tsx @@ -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 (