diff --git a/src/pages/home.jsx b/src/pages/home.jsx index f929ddee..af6ac038 100644 --- a/src/pages/home.jsx +++ b/src/pages/home.jsx @@ -34,9 +34,6 @@ function Home() { })(); }, []); - const notificationLinkRef = useRef(); - const [menuState, setMenuState] = useState(undefined); - return ( <> {(snapStates.settings.shortcutsColumnsMode || @@ -49,34 +46,7 @@ function Home() { path="/" id="home" headerStart={false} - headerEnd={ - <> - { - e.stopPropagation(); - if (window.matchMedia('(min-width: calc(40em))').matches) { - e.preventDefault(); - setMenuState((state) => { - console.log('state', state, !state ? 'open' : undefined); - return !state ? 'open' : undefined; - }); - } - }} - > - - - setMenuState(undefined)} - /> - - } + headerEnd={} /> )}