Minor formatting
This commit is contained in:
parent
17fcc2f25c
commit
0a50df1cce
1 changed files with 3 additions and 1 deletions
|
@ -79,7 +79,9 @@ export const SearchScreen = withAuthRequired(
|
||||||
}, [setQuery, autocompleteView, store])
|
}, [setQuery, autocompleteView, store])
|
||||||
|
|
||||||
const onSubmitQuery = React.useCallback(() => {
|
const onSubmitQuery = React.useCallback(() => {
|
||||||
if (query.length === 0) return
|
if (query.length === 0) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
const model = new SearchUIModel(store)
|
const model = new SearchUIModel(store)
|
||||||
model.fetch(query)
|
model.fetch(query)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue