diff --git a/app/(private)/dashboard/layout.tsx b/app/(private)/dashboard/layout.tsx index bee429f..c24eeaa 100644 --- a/app/(private)/dashboard/layout.tsx +++ b/app/(private)/dashboard/layout.tsx @@ -1,6 +1,7 @@ "use client"; import Sidebar from "@/app/(private)/_components/sidebar"; import CookieBanner from "@/components/cookies"; +import CookieContextProvider from "@/context/cookie"; import { useDashboardContext } from "@/context/dashboard"; import { cn } from "@/lib/utils"; export default function DashboardLayout({ children }: { children: React.ReactNode }) { @@ -17,7 +18,9 @@ export default function DashboardLayout({ children }: { children: React.ReactNod > {children} - + + + ); } diff --git a/app/(public)/layout.tsx b/app/(public)/layout.tsx index 1732f05..5f49f56 100644 --- a/app/(public)/layout.tsx +++ b/app/(public)/layout.tsx @@ -1,14 +1,17 @@ import CookieBanner from "@/components/cookies"; import Footer from "@/components/footer"; import Header from "@/components/header"; +import CookieContextProvider from "@/context/cookie"; export default function PublicLayout({ children }: { children: React.ReactNode }) { return ( <>
{children}
-