Revert "do not reset search query on HISTORY_NAVIGATE"

This commit is contained in:
Sean Yesmunt 2018-06-01 11:17:25 -04:00 committed by GitHub
parent b97c50d6e3
commit 79280fdabf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,6 +88,7 @@ export const searchReducer = handleActions(
// if going home, it should be blank
[ACTIONS.HISTORY_NAVIGATE]: (state: SearchState): SearchState => ({
...state,
searchQuery: '',
suggestions: [],
isActive: false,
}),