Minor formatting
parent
17fcc2f25c
commit
0a50df1cce
|
@ -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…
Reference in New Issue