mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
feat: recreate dashboard page from previous version
This commit is contained in:
5
inertia/hooks/use_global_hotkeys.tsx
Normal file
5
inertia/hooks/use_global_hotkeys.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { useContext } from 'react';
|
||||
import GlobalHotkeysContext from '~/contexts/global_hotkeys_context';
|
||||
|
||||
const useGlobalHotkeys = () => useContext(GlobalHotkeysContext);
|
||||
export default useGlobalHotkeys;
|
||||
Reference in New Issue
Block a user