Minor formatting
This commit is contained in:
@@ -79,7 +79,9 @@ export const SearchScreen = withAuthRequired(
|
||||
}, [setQuery, autocompleteView, store])
|
||||
|
||||
const onSubmitQuery = React.useCallback(() => {
|
||||
if (query.length === 0) return
|
||||
if (query.length === 0) {
|
||||
return
|
||||
}
|
||||
|
||||
const model = new SearchUIModel(store)
|
||||
model.fetch(query)
|
||||
|
||||
Reference in New Issue
Block a user