diff --git a/packages/frontend/src/components/MkMenu.vue b/packages/frontend/src/components/MkMenu.vue
index 5082205b5b..5d08f773e1 100644
--- a/packages/frontend/src/components/MkMenu.vue
+++ b/packages/frontend/src/components/MkMenu.vue
@@ -39,7 +39,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ item.text }}
-
+
{{ item.text }}
@@ -68,8 +68,9 @@ import MkSwitchButton from '@/components/MkSwitch.button.vue';
import { MenuItem, InnerMenuItem, MenuPending, MenuAction, MenuSwitch, MenuParent } from '@/types/menu';
import * as os from '@/os';
import { i18n } from '@/i18n';
+import { isTouchUsing } from '@/scripts/touch';
-const childrenCache = new WeakMap();
+const childrenCache = new WeakMap>();
diff --git a/packages/frontend/src/os.ts b/packages/frontend/src/os.ts
index 72de0346d7..2e80e3d8df 100644
--- a/packages/frontend/src/os.ts
+++ b/packages/frontend/src/os.ts
@@ -550,7 +550,6 @@ export function popupMenu(items: MenuItem[] | Ref