From ed5ea0e4c2702e7c7f91636fa93266d52de97089 Mon Sep 17 00:00:00 2001 From: "Andrew W. Hill" Date: Thu, 28 Mar 2019 07:50:57 -0700 Subject: [PATCH] clears search with each phrase change (#997) --- App/features/contacts/sagas.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/App/features/contacts/sagas.ts b/App/features/contacts/sagas.ts index d6e13f84e..c66b2ab12 100644 --- a/App/features/contacts/sagas.ts +++ b/App/features/contacts/sagas.ts @@ -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)]),