Minor formatting

zio/stable
Paul Frazee 2023-08-22 10:50:19 -07:00
parent 17fcc2f25c
commit 0a50df1cce
1 changed files with 3 additions and 1 deletions

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)