mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-27 21:06:39 +02:00
refactor feature hooks to be conditionally initialized
This commit is contained in:
@@ -38,3 +38,8 @@ export const usePlaybackHotkeys = () => {
|
||||
|
||||
useHotkeys(playbackHotkeysItems);
|
||||
};
|
||||
|
||||
export const PlaybackHotkeysHook = () => {
|
||||
usePlaybackHotkeys();
|
||||
return null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user