From 4cdfebd5b3d12dcda2989689a9ca8648f8dc5f44 Mon Sep 17 00:00:00 2001 From: TheShadowEevee Date: Fri, 20 Dec 2024 16:37:50 -0600 Subject: [PATCH] Fix Sidebar default open/close --- src/app/dashboard/page.tsx | 4 ++-- src/layouts/Layout.astro | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index ff877fc..881432e 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -17,12 +17,12 @@ import { interface Props { children: React.ReactNode - defaultSidebarOpen: boolean + defaultOpen: boolean } export default function Page(props: Props) { return ( - +
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index ae2a065..70019f1 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -12,7 +12,7 @@ import Page from "@/app/dashboard/page"; Website - +