diff --git a/ui/redux/actions/search.js b/ui/redux/actions/search.js index e6677839f..5b715d5fd 100644 --- a/ui/redux/actions/search.js +++ b/ui/redux/actions/search.js @@ -72,6 +72,8 @@ export const doUpdateSearchQuery = (query: string, shouldSkipSuggestions: ?boole data: { query }, }); + if (!query) return; + // Don't fetch new suggestions if the user just added a space if (!query.endsWith(' ') || !shouldSkipSuggestions) { throttledSearchSuggestions(dispatch, query);