do not reset search query on HISTORY_NAVIGATE #31
1 changed files with 0 additions and 1 deletions
|
@ -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,
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue