Fix broken search links

This commit is contained in:
Jordan Eldredge 2020-09-11 23:37:53 -07:00
parent 5892334acc
commit 00446de136

View file

@ -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);