fix(theme): close sidebar on resize (closes #5145)

pull/5151/head
Divyansh Singh 1 month ago
parent ca1e875129
commit 17696c358b

@ -107,6 +107,7 @@ export function registerWatchers({ closeSidebar }: RegisterWatchersOptions) {
const route = useRoute()
watch(() => route.path, closeSidebar)
watch(is960, closeSidebar)
useCloseSidebarOnEscape(closeSidebar)
}

Loading…
Cancel
Save