better error handling
This commit is contained in:
parent
7edf44f107
commit
428e8cd298
8 changed files with 66 additions and 34 deletions
|
|
@ -161,7 +161,6 @@ export function InputBlock({ state, setState, score, onCancel, typeInfo }: Input
|
|||
i={i} setI={setI} />
|
||||
</span>
|
||||
</Input>
|
||||
{/* ::<TypeBlock type={typeInfo.type} /> */}
|
||||
::<TypeInfoBlock typeInfo={typeInfo} />
|
||||
</>
|
||||
}
|
||||
|
|
@ -201,7 +200,7 @@ function Suggestion({ setI, j, onSelect, highlighted, suggestion: [priority, typ
|
|||
onMouseEnter={onMouseEnter(j)}
|
||||
onMouseDown={onMouseDown(j)}>
|
||||
({priority}) ({kind}) {text} :: <TypeBlock type={type} />
|
||||
</div>
|
||||
</div>;
|
||||
}
|
||||
|
||||
const SuggestionMemo = memo<SuggestionProps>(Suggestion);
|
||||
Loading…
Add table
Add a link
Reference in a new issue