diff --git a/client/js/utils/router.js b/client/js/utils/router.js index 38426cc5..58b4956e 100644 --- a/client/js/utils/router.js +++ b/client/js/utils/router.js @@ -69,7 +69,7 @@ function match(routes, location) { for (let j = 0; j < keys.length; j++) { params[keys[j]] = decodeURIComponent(params[keys[j]]); } - return locationChanged(routes[i].name, params, decode(location)); + return locationChanged(routes[i].name, params, decode({ ...location })); } } return null;