This commit is contained in:
Phillip Kelley-Dotson 2021-06-15 16:16:59 -07:00 committed by GitHub
parent b179863e25
commit d30f3c8149
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ export default function SearchFilter({
const [value, setValue] = useState(initialValue || '');
const handleSubmit = () => {
if (value) {
onSubmit(value);
onSubmit(value.trim());
}
};
const onClear = () => {