Revert "do not reset search query on HISTORY_NAVIGATE"
This commit is contained in:
parent
b97c50d6e3
commit
79280fdabf
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ 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