about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/view/screens/SearchMobile.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/view/screens/SearchMobile.tsx b/src/view/screens/SearchMobile.tsx
index 3b5f771a5..6ad468fa9 100644
--- a/src/view/screens/SearchMobile.tsx
+++ b/src/view/screens/SearchMobile.tsx
@@ -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)