feat(keybinds): wire useKeybinds hook into AppLayout
This commit is contained in:
@@ -32,6 +32,7 @@ import { useDelayedLoading } from '../../hooks/useDelayedLoading';
|
|||||||
import { useWebSocket } from '../../hooks/useWebSocket';
|
import { useWebSocket } from '../../hooks/useWebSocket';
|
||||||
import { useFederationToasts } from '../../hooks/useFederationToasts';
|
import { useFederationToasts } from '../../hooks/useFederationToasts';
|
||||||
import { useLiveKit } from '../../hooks/useLiveKit';
|
import { useLiveKit } from '../../hooks/useLiveKit';
|
||||||
|
import { useKeybinds } from '../../hooks/useKeybinds';
|
||||||
import { useDeepLinkHandler } from '../../platform/deepLink';
|
import { useDeepLinkHandler } from '../../platform/deepLink';
|
||||||
import { initActivityBridge, teardownActivityBridge } from '../../platform/activityBridge';
|
import { initActivityBridge, teardownActivityBridge } from '../../platform/activityBridge';
|
||||||
import { useSpaceStore } from '../../stores/spaceStore';
|
import { useSpaceStore } from '../../stores/spaceStore';
|
||||||
@@ -123,6 +124,9 @@ export function AppLayout() {
|
|||||||
// Federation toast notifications for remote instance connection state changes
|
// Federation toast notifications for remote instance connection state changes
|
||||||
useFederationToasts();
|
useFederationToasts();
|
||||||
|
|
||||||
|
// Keybinds handler
|
||||||
|
useKeybinds();
|
||||||
|
|
||||||
// Deep link handler for Electron (backspace:// protocol)
|
// Deep link handler for Electron (backspace:// protocol)
|
||||||
useDeepLinkHandler();
|
useDeepLinkHandler();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user