Merge pull request #40 from lbryio/revert-31-search-page

Revert "do not reset search query on HISTORY_NAVIGATE"
This commit is contained in:
Sean Yesmunt 2018-06-01 11:17:45 -04:00 committed by GitHub
commit cdcecce6fe
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,
}),