From 17ecf7f91c820f911f2066ab1c5e336e956dbcd6 Mon Sep 17 00:00:00 2001 From: Travis Eden Date: Thu, 24 May 2018 16:21:18 -0400 Subject: [PATCH] do not reset search query on HISTORY_NAVIGATE --- src/redux/reducers/search.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/redux/reducers/search.js b/src/redux/reducers/search.js index 59789d6..9cd19c1 100644 --- a/src/redux/reducers/search.js +++ b/src/redux/reducers/search.js @@ -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, }),