From 30cde6c34d9beaf15aaad1abc359579e8b4edbb8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 19 May 2025 14:35:10 +0200 Subject: [PATCH] [Glitch] fix(deps): update dependency @react-spring/web to v10 Port feb4e0a00758e0ea00579df53e02586a52350dd0 to glitch-soc Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: ChaosExAnima 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); + } }, });