From 2840df82f4cd61c57ecfacad504ffc26ac4879ef Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 15 Nov 2025 17:52:08 +0200 Subject: [PATCH] chore(client): fix typecheck issue --- apps/client/src/services/keyboard_actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/services/keyboard_actions.ts b/apps/client/src/services/keyboard_actions.ts index 1ada409ec..5678d6196 100644 --- a/apps/client/src/services/keyboard_actions.ts +++ b/apps/client/src/services/keyboard_actions.ts @@ -29,7 +29,7 @@ async function getActionsForScope(scope: string) { } async function setupActionsForElement(scope: string, $el: JQuery, component: Component) { - if (!$el[0]) return; + if (!$el[0]) return []; const actions = await getActionsForScope(scope); const bindings: ShortcutBinding[] = [];