mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-26 03:11:12 +01:00
Initial settings implementation
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user