fix bug in type inferencing
This commit is contained in:
parent
bb6e742f5f
commit
c3f7cea310
8 changed files with 205 additions and 155 deletions
|
|
@ -94,6 +94,7 @@ export function Input({placeholder, text, suggestion, onTextChange, onEnter, onC
|
|||
Backspace: () => {
|
||||
if (text.length === 0) {
|
||||
onCancel();
|
||||
focusPrevElement();
|
||||
e.preventDefault();
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue