Merge branch 'bugfix/hotkeys' of github.com:ONLYOFFICE/AppServer into bugfix/hotkeys

This commit is contained in:
Nikita Gopienko 2022-09-29 16:14:20 +03:00
commit 7a52679e7c

View File

@ -33,7 +33,7 @@ const Dialog = ({
if (e.keyCode === 27) onCancelAction(e);
if (e.keyCode === 13) onSaveAction(e);
},
[onSaveAction, onCancelAction, value]
[value]
);
useEffect(() => {
document.addEventListener("keyup", onKeyUpHandler, false);