- added hotkeys;

This commit is contained in:
Vitalii Kiiko
2025-03-07 09:03:07 +01:00
parent a9a92baf18
commit 3dd2e23501
3 changed files with 16 additions and 2 deletions

View File

@@ -118,10 +118,10 @@ const Login = () => {
/*if ('t7jh5wfg9QXylNaTZkPoE' === APP_HUB_ID) {
setIsMaintenance(true);
}*/
hotkeys('command+x,ctrl+x', function(event, handler){
hotkeys('command+x,ctrl+x', function(){
window.location.replace('/loginadmin')
});
hotkeys('command+shift+x,ctrl+shift+x', function(event, handler){
hotkeys('command+shift+x,ctrl+shift+x', function(){
window.location.replace('/confidi')
});
}, []);