Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
clears search with each phrase change (#997)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewxhill authored Mar 28, 2019
1 parent 55764cb commit ed5ea0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions App/features/contacts/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ function * searchAddressBook(searchString: string) {
}

function * executeSearchRequest(searchString: string) {
yield put(actions.clearSearch())
yield put(actions.searchStarted())
yield race({
search: all([call(searchTextile, searchString), call(searchAddressBook, searchString)]),
Expand Down

0 comments on commit ed5ea0e

Please sign in to comment.