From 00446de136343aa685377a583aef1344c555bc72 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Fri, 11 Sep 2020 23:37:53 -0700 Subject: [PATCH] Fix broken search links --- src/redux/epics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redux/epics.js b/src/redux/epics.js index 11dc3309..895721ef 100644 --- a/src/redux/epics.js +++ b/src/redux/epics.js @@ -337,7 +337,7 @@ const urlEpic = (actions, state) => { return actions.pipe( map(() => Selectors.getUrl(state.value)), distinctUntilChanged(), - startWith(window.location.pathname), + startWith(window.location), tap((url) => { window.ga("set", "page", url); window.history.replaceState({}, Selectors.getPageTitle(state), url);