diff --git a/ui/component/wunderbarSuggestions/view.jsx b/ui/component/wunderbarSuggestions/view.jsx index fd778cbe5..b2f7003c4 100644 --- a/ui/component/wunderbarSuggestions/view.jsx +++ b/ui/component/wunderbarSuggestions/view.jsx @@ -228,7 +228,7 @@ export default function WunderBarSuggestions(props: Props) { React.useEffect(() => { function handleKeyDown(event) { const { ctrlKey, metaKey, keyCode } = event; - + if (!inputRef.current) { return; }