@ -91,6 +91,11 @@ export function AuthAutoRouter() {
|
||||
setHotkeyScope(PageHotkeyScope.OpportunitiesPage, { goto: true });
|
||||
break;
|
||||
}
|
||||
case isMatchingLocation(AppPath.TasksPage): {
|
||||
setHotkeyScope(PageHotkeyScope.TaskPage, { goto: true });
|
||||
break;
|
||||
}
|
||||
|
||||
case isMatchingLocation(AppPath.SignIn): {
|
||||
setHotkeyScope(PageHotkeyScope.SignInUp);
|
||||
break;
|
||||
|
||||
@ -5,6 +5,7 @@ export function GotoHotkeysHooks() {
|
||||
useGoToHotkeys('c', '/companies');
|
||||
useGoToHotkeys('o', '/opportunities');
|
||||
useGoToHotkeys('s', '/settings/profile');
|
||||
useGoToHotkeys('t', '/tasks');
|
||||
|
||||
return <></>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user