diff --git a/web/src/services/locationService.ts b/web/src/services/locationService.ts index 6e75d5cd..f7427890 100644 --- a/web/src/services/locationService.ts +++ b/web/src/services/locationService.ts @@ -3,6 +3,7 @@ import store from "../store"; import { setQuery, setPathname, Query, updateStateWithLocation } from "../store/modules/location"; const updateLocationUrl = (method: "replace" | "push" = "replace") => { + store.dispatch(updateStateWithLocation()); const { query, pathname, hash } = store.getState().location; let queryString = stringify(query); if (queryString) {