<script setup lang="ts">
import { SidebarProvider } from '@/components/ui/sidebar';

const defaultOpen = useCookie<boolean>("sidebar_state");
</script>

<template>
    <SidebarProvider :defaultOpen="defaultOpen">
        <NuxtLayout>
            <NuxtPage />
        </NuxtLayout>
    </SidebarProvider>
</template>
