mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
fix space (#15175)
This commit is contained in:
parent
b179863e25
commit
d30f3c8149
@ -35,7 +35,7 @@ export default function SearchFilter({
|
|||||||
const [value, setValue] = useState(initialValue || '');
|
const [value, setValue] = useState(initialValue || '');
|
||||||
const handleSubmit = () => {
|
const handleSubmit = () => {
|
||||||
if (value) {
|
if (value) {
|
||||||
onSubmit(value);
|
onSubmit(value.trim());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const onClear = () => {
|
const onClear = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user