Skip to content

Commit

Permalink
fix(core): timeout reload, go to next page instead
Browse files Browse the repository at this point in the history
This fix #475.
  • Loading branch information
xavierfoucrier committed Nov 25, 2022
2 parents e13ba50 + d396d87 commit 122772c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ export class Core {
// If transition error and no debug mode, force reload page.
/* istanbul ignore else */
if (Logger.getLevel() === 0) {
this.force(data.current.url.href);
this.force(data.next.url.href);
}
}
}
Expand Down

1 comment on commit 122772c

@aulivur
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this change made it to NPM because the issue persists and I can still see the old line in the code!

Please sign in to comment.