Files
spacedrive/interface/hooks/useKeybindFactory.ts
Brendan Allan 06de379169 [ENG-816, ENG-821] Re-implement reveal in finder + ContextMenu overhaul (#1029)
* mostly there

* native opening working

* more

* cleanup

* reorganise

* remove unnecessary import

* uncomment some stuff

* spacing

* store quickview ref inside provider

* fix linting

* clippy

---------

Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
2023-06-27 15:34:53 +00:00

5 lines
183 B
TypeScript

import { keybindForOs } from '~/util/keybinds';
import { useOperatingSystem } from './useOperatingSystem';
export const useKeybindFactory = () => keybindForOs(useOperatingSystem());