feat: add money in & out to keyboardshortcuts.

This commit is contained in:
elforjani13
2021-10-24 14:35:39 +02:00
parent c5783896ad
commit 68f8140007
3 changed files with 16 additions and 5 deletions

View File

@@ -37,8 +37,8 @@ function GlobalHotkeys({
[history],
);
useHotkeys('ctrl+/', (event, handle) => handleSidebarToggleBtn());
useHotkeys('shift+q', (event, handle) => openDialog('money-in', {}));
useHotkeys('shift+d', (event, handle) => openDialog('money-out', {}));
useHotkeys('shift+d', (event, handle) => openDialog('money-in', {}));
useHotkeys('shift+q', (event, handle) => openDialog('money-out', {}));
return <div></div>;
}