fix(keyboard-nav): ensure correct type for shortcut keys in navigation

This commit is contained in:
Mauricio Siu
2025-08-10 16:41:18 -06:00
parent 1fe12ba93e
commit 85bce827eb

View File

@@ -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())}`,
);