Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
[C-957] Fix autocomplete when signed out (#1844)
Browse files Browse the repository at this point in the history
* Fix autocomplete when signed out

* Still wait for account
  • Loading branch information
sliptype committed Sep 1, 2022
1 parent 3315c27 commit b11a686
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/web/src/components/search-bar/store/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ export function* getSearchResults(searchText: string) {
yield* waitForAccount()
const userId = yield* select(getUserId)

if (!userId) return

const results = yield* call([apiClient, 'getSearchAutocomplete'], {
currentUserId: userId,
query: searchText,
Expand Down

0 comments on commit b11a686

Please sign in to comment.