refactor: delete the redundant `provide` code (#2804)

pull/2809/head
烽宁 1 year ago committed by GitHub
parent 33962e04eb
commit 51715336ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -22,9 +22,6 @@ watch(() => route.path, closeSidebar)
useCloseSidebarOnEscape(isSidebarOpen, closeSidebar) useCloseSidebarOnEscape(isSidebarOpen, closeSidebar)
provide('close-sidebar', closeSidebar)
provide('is-sidebar-open', isSidebarOpen)
const { frontmatter } = useData() const { frontmatter } = useData()
const slots = useSlots() const slots = useSlots()

Loading…
Cancel
Save