From 93b18dfeaae51fc2bdb86be21a731e9dbeab23c4 Mon Sep 17 00:00:00 2001 From: diondiondion Date: Mon, 22 Jun 2026 15:21:45 +0200 Subject: [PATCH] [Glitch] Update `@react-spring/web` to version 10 Port 1d75a8d27f7386610d41152ccd48eda245270d1a to glitch-soc Signed-off-by: Claire --- .../glitch/features/video/components/hotkey_indicator.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/features/video/components/hotkey_indicator.tsx b/app/javascript/flavours/glitch/features/video/components/hotkey_indicator.tsx index 2c743d60e2..6a374ee2f4 100644 --- a/app/javascript/flavours/glitch/features/video/components/hotkey_indicator.tsx +++ b/app/javascript/flavours/glitch/features/video/components/hotkey_indicator.tsx @@ -24,7 +24,9 @@ export const HotkeyIndicator: React.FC<{ enter: [{ opacity: 1 }], leave: [{ opacity: 0 }], onRest: (_result, _ctrl, item) => { - onDismiss(item); + if (item) { + onDismiss(item); + } }, });