Revert "Don't autocomplete for empty string search"
This reverts commit 72187ca51e
.
This commit is contained in:
parent
72187ca51e
commit
cb0918726e
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue