Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
martrapp authored and astrobot-houston committed Apr 4, 2024
1 parent ca6bb1f commit 3bd6758
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/astro/src/transitions/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ const moveToLocation = (
location.href = to.href; // this kills the history state on Firefox
if (!history.state) {
replaceState(savedState, ''); // this restores the history state
if (intraPage){
window.dispatchEvent(new PopStateEvent('popstate' ));
if (intraPage) {
window.dispatchEvent(new PopStateEvent('popstate'));
}
}
} else {
Expand Down

0 comments on commit 3bd6758

Please sign in to comment.