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); + } }, });