Minor formatting

This commit is contained in:
Paul Frazee 2023-08-22 10:50:19 -07:00
parent 17fcc2f25c
commit 0a50df1cce

View file

@ -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)