Web:Files:Hocs: fix keyup on create docx after merge

This commit is contained in:
TimofeyBoyko 2022-07-11 17:13:51 +03:00
parent a0651ecca4
commit 58bd9509a1

View File

@ -177,7 +177,10 @@ const withHotkeys = (Component) => {
); );
//Crete document //Crete document
useHotkeys("Shift+d", () => onCreate("docx"), hotkeysFilter); useHotkeys("Shift+d", () => onCreate("docx"), {
...hotkeysFilter,
...{ keyup: true },
});
//Crete spreadsheet //Crete spreadsheet
useHotkeys("Shift+s", () => onCreate("xlsx"), { useHotkeys("Shift+s", () => onCreate("xlsx"), {