fix bug in type inferencing

This commit is contained in:
Joeri Exelmans 2025-05-21 00:13:17 +02:00
parent bb6e742f5f
commit c3f7cea310
8 changed files with 205 additions and 155 deletions

View file

@ -94,6 +94,7 @@ export function Input({placeholder, text, suggestion, onTextChange, onEnter, onC
Backspace: () => {
if (text.length === 0) {
onCancel();
focusPrevElement();
e.preventDefault();
}
},