fix(ui): fix flag search input

This commit is contained in:
nick-delirium 2023-06-30 10:50:18 +02:00
parent bb6b15682f
commit d54abfc71c

View file

@ -21,8 +21,8 @@ function FFlagsSearch() {
}, []);
const write = ({ target: { value } }: React.ChangeEvent<HTMLInputElement>) => {
setQuery(value);
debounceUpdate(value);
setQuery(value.replace(/\s/g, '-'));
debounceUpdate(value.replace(/\s/g, '-'));
};
return (