From 9e01f4f59014df3e11a84e6d480570c85b43da67 Mon Sep 17 00:00:00 2001 From: web Date: Wed, 3 Sep 2025 09:41:23 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20Correct=20cookie=20key=20?= =?UTF-8?q?format=20for=20sidebar=20state=20retrieval?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/admin/app/dashboard/layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/admin/app/dashboard/layout.tsx b/apps/admin/app/dashboard/layout.tsx index e3543ee..1d72b7b 100644 --- a/apps/admin/app/dashboard/layout.tsx +++ b/apps/admin/app/dashboard/layout.tsx @@ -5,7 +5,7 @@ import { cookies } from 'next/headers'; export default async function DashboardLayout({ children }: { children: React.ReactNode }) { const cookieStore = await cookies(); - const defaultOpen = cookieStore.get('sidebar:state')?.value === 'true'; + const defaultOpen = cookieStore.get('sidebar_state')?.value === 'true'; return (