From 91a6a650f363afed14ff38d0f83ab7fdd295ae43 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Mar 2026 11:01:57 +0000 Subject: [PATCH] fix: guard against null key in camera group keyboard shortcut handler https://claude.ai/code/session_018vH9fGSi5McLLa47GEiZJC --- web/src/pages/Live.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pages/Live.tsx b/web/src/pages/Live.tsx index 876a2e570..78d182ddb 100644 --- a/web/src/pages/Live.tsx +++ b/web/src/pages/Live.tsx @@ -68,7 +68,7 @@ function Live() { useKeyboardListener( ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"], (key, modifiers) => { - if (!modifiers.down || !config || selectedCameraName) { + if (!modifiers.down || !config || !key || selectedCameraName) { return false; }