Merge pull request #31 from lbryio/search-page

do not reset search query on HISTORY_NAVIGATE
This commit is contained in:
Sean Yesmunt 2018-05-29 22:47:26 -04:00 committed by GitHub
commit af39e09f67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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