mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-18 15:09:34 +00:00
细节优化
This commit is contained in:
@@ -23,7 +23,7 @@ export const NavBarMenu = ({ customNav, customMenu }) => {
|
||||
}
|
||||
const router = useRouter()
|
||||
useEffect(() => {
|
||||
router.events.on('routeChangeComplete', closeMenu)
|
||||
router.events.on('routeChangeStart', closeMenu)
|
||||
})
|
||||
|
||||
let links = [
|
||||
|
||||
Reference in New Issue
Block a user