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 6a374ee2f4..2c743d60e2 100644 --- a/app/javascript/flavours/glitch/features/video/components/hotkey_indicator.tsx +++ b/app/javascript/flavours/glitch/features/video/components/hotkey_indicator.tsx @@ -24,9 +24,7 @@ export const HotkeyIndicator: React.FC<{ enter: [{ opacity: 1 }], leave: [{ opacity: 0 }], onRest: (_result, _ctrl, item) => { - if (item) { - onDismiss(item); - } + onDismiss(item); }, });