Skip to content
This repository was archived by the owner on Jan 22, 2019. It is now read-only.

Commit c92792d

Browse files
committed
feat: show suggestions after 1st character entry in omnibox
This makes the omnibox feel more responsive.
1 parent 265abe7 commit c92792d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/shared/backend/search.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -205,14 +205,6 @@ export const createSuggestionFetcher = (first = 5) => {
205205
distinctUntilChanged(),
206206
debounceTime(200),
207207
switchMap(({ query, handler }) => {
208-
if (query.length < 2) {
209-
return [
210-
{
211-
suggestions: [],
212-
suggestHandler: handler,
213-
},
214-
]
215-
}
216208
const options: SearchOptions = {
217209
query,
218210
}

0 commit comments

Comments
 (0)