<script>
    import { onMount } from 'svelte'
    import { storeLayout } from '$/stores/global'

    onMount(() => {
        $storeLayout.showSidebar = false;
        return () => {
            $storeLayout.showSidebar = true;
        }
    })
</script>