notify(event.currentTarget.value)}
onChange={(event) => {
// Picking a suggestion is a decision, not a keystroke: it must not wait out the window.
notify.cancel();
props.onFilter?.(event.currentTarget.value);
}}
/>
{matches().length === 0
? ui.t(UI_KEYS.noResults)
: ui.t(UI_KEYS.suggestions, { count: matches().length })}
);
}