do not reset search query on HISTORY_NAVIGATE #31

Merged
daovist merged 1 commit from search-page into master 2018-05-30 04:47:27 +02:00
Showing only changes of commit 17ecf7f91c - Show all commits

View file

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