From cb0918726e6cfa24d52c1d8965a42e311abb0ac6 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Thu, 10 Sep 2020 11:30:42 -0400 Subject: [PATCH] Revert "Don't autocomplete for empty string search" This reverts commit 72187ca51e0e56d3de49c8376d5cb2e35e103f7e. --- ui/redux/actions/search.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/ui/redux/actions/search.js b/ui/redux/actions/search.js index 5b715d5fd..e6677839f 100644 --- a/ui/redux/actions/search.js +++ b/ui/redux/actions/search.js @@ -72,8 +72,6 @@ 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);