Files
twenty/front/src/sync-hooks/GotoHotkeysHooks.tsx
brendanlaschke 0ad35549ac Fix hotkeys for tasks page (#1034)
- fix hotkeys for tasks
2023-08-01 22:11:07 -07:00

12 lines
323 B
TypeScript

import { useGoToHotkeys } from '@/ui/utilities/hotkey/hooks/useGoToHotkeys';
export function GotoHotkeysHooks() {
useGoToHotkeys('p', '/people');
useGoToHotkeys('c', '/companies');
useGoToHotkeys('o', '/opportunities');
useGoToHotkeys('s', '/settings/profile');
useGoToHotkeys('t', '/tasks');
return <></>;
}