diff --git a/components/TopNav.js b/components/TopNav.js index 20fe43d8..021e7f23 100644 --- a/components/TopNav.js +++ b/components/TopNav.js @@ -43,6 +43,11 @@ const TopNav = ({ tags, currentTag, post, slot, categories, currentCategory, aut BLOG.autoCollapsedNavBar && window.removeEventListener('scroll', scrollTrigger) } }, []) + + const switchMenuShow = () => { + drawer?.current?.handleSwitchSideDrawerVisible() + } + return (