fix(ui): fix flag search input
This commit is contained in:
parent
bb6b15682f
commit
d54abfc71c
1 changed files with 2 additions and 2 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue