Skip to content

Commit

Permalink
fix: qp-only transition during initial transition
Browse files Browse the repository at this point in the history
  • Loading branch information
buschtoens committed Oct 29, 2020
1 parent bb16c56 commit f2fbb32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/router/router.ts
Expand Up @@ -120,7 +120,7 @@ export default abstract class Router<T extends Route> {
// perform a URL update at the end. This gives
// the user the ability to set the url update
// method (default is replaceState).
let newTransition = new InternalTransition(this, undefined, undefined);
let newTransition = new InternalTransition(this, undefined, newState);
newTransition.queryParamsOnly = true;

oldState.queryParams = this.finalizeQueryParamChange(
Expand Down

0 comments on commit f2fbb32

Please sign in to comment.