Initial settings implementation

This commit is contained in:
Gregory Schier
2024-01-11 21:13:17 -08:00
parent bd5ae12f2e
commit 1a64d7d9e6
18 changed files with 426 additions and 65 deletions

View File

@@ -479,11 +479,6 @@ interface MenuItemHotKeyProps {
}
function MenuItemHotKey({ action, onSelect, item }: MenuItemHotKeyProps) {
if (action) {
console.log('MENU ITEM HOTKEY', action, item);
}
useHotKey(action ?? null, () => {
onSelect(item);
});
useHotKey(action ?? null, () => onSelect(item));
return null;
}