Only Inspect on Desktop

This commit is contained in:
Dustin Brett
2022-05-08 20:15:43 -07:00
parent d0aab73800
commit 39f321f340

View File

@@ -141,11 +141,15 @@ const useFolderContextMenu = (
},
],
},
MENU_SEPERATOR,
{
action: () => open("DevTools", { url: "dom" }),
label: "Inspect",
},
...(isDesktop
? [
MENU_SEPERATOR,
{
action: () => open("DevTools", { url: "dom" }),
label: "Inspect",
},
]
: []),
];
}, [
addToFolder,