We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e55f0bd commit 741dbc2Copy full SHA for 741dbc2
src/app/dashboard/layout.tsx
@@ -19,6 +19,7 @@ const layout: React.FC<PropsWithChildren> = async ({ children }) => {
19
const session = await sessionActions.getSession();
20
21
const cookieStore = await cookies();
22
+
23
const getSidebarOpenState = () => {
24
const isOpen = cookieStore.get("sidebar_state")?.value;
25
if (!isOpen) return true;
0 commit comments