From 419ad34250ada3abcf39f84759fa03c006e2a3f5 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 4 Apr 2024 14:29:35 +0800 Subject: [PATCH] Revert "Test another fix for submenus not opening" This reverts commit a7cc0785f9a1302322af7a14c86c8f01d8e12d88. --- src/components/nav-menu.jsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/nav-menu.jsx b/src/components/nav-menu.jsx index 9e1759f3..0a4bb570 100644 --- a/src/components/nav-menu.jsx +++ b/src/components/nav-menu.jsx @@ -21,8 +21,6 @@ import Avatar from './avatar'; import Icon from './icon'; import MenuLink from './menu-link'; -const supportsTouch = 'ontouchstart' in window; - function NavMenu(props) { const snapStates = useSnapshot(states); const { masto, instance, authenticated } = api(); @@ -212,7 +210,6 @@ function NavMenu(props) { )} {lists?.length > 0 ? ( Bookmarks