mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-15 20:25:23 +02:00
fix(keyboard-nav): ensure correct type for shortcut keys in navigation
This commit is contained in:
@@ -56,7 +56,7 @@ export function UseKeyboardNavForApplications() {
|
||||
setModPressed(false);
|
||||
|
||||
if (key in SHORTCUTS) {
|
||||
const tab = SHORTCUTS[key];
|
||||
const tab = SHORTCUTS[key as keyof typeof SHORTCUTS];
|
||||
router.push(
|
||||
`${pathname}?${updateSearchParam("tab", tab.toLowerCase())}`,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user