diff --git a/src/client/theme-default/Layout.vue b/src/client/theme-default/Layout.vue index 34bd53dd3991..52bb16b23529 100644 --- a/src/client/theme-default/Layout.vue +++ b/src/client/theme-default/Layout.vue @@ -9,16 +9,13 @@ import VPNav from './components/VPNav.vue' import VPSidebar from './components/VPSidebar.vue' import VPSkipLink from './components/VPSkipLink.vue' import { useData } from './composables/data' -import { useNav } from './composables/nav' import { useCloseSidebarOnEscape, useSidebar } from './composables/sidebar' const { isOpen: isSidebarOpen, open: openSidebar, - close: closeSidebar, - isSidebarEnabled, + close: closeSidebar } = useSidebar() -const { isScreenOpen } = useNav() const route = useRoute() watch(() => route.path, closeSidebar) @@ -36,9 +33,9 @@ provide('hero-image-slot-exists', heroImageSlotExists)