|
@@ -23,7 +23,9 @@ export const locationReducer = (state = initialState, action: Action): LocationS
|
|
|
return {
|
|
return {
|
|
|
url: renderUrl(path || state.path, query),
|
|
url: renderUrl(path || state.path, query),
|
|
|
path: path || state.path,
|
|
path: path || state.path,
|
|
|
- query: query,
|
|
|
|
|
|
|
+ query: {
|
|
|
|
|
+ ...query,
|
|
|
|
|
+ },
|
|
|
routeParams: routeParams || state.routeParams,
|
|
routeParams: routeParams || state.routeParams,
|
|
|
};
|
|
};
|
|
|
}
|
|
}
|