diff options
author | 2024-04-04 17:06:11 +0000 | |
---|---|---|
committer | 2024-04-04 17:06:11 +0000 | |
commit | 3bd6758e1cdd4be617a8c69ac7c94c4d0dab0999 (patch) | |
tree | 37a94b0ec928939ea7f8a46e4672a815e431cfa7 | |
parent | ca6bb1f31ef041e6ccf8ef974856fa945ff5bb31 (diff) | |
download | astro-3bd6758e1cdd4be617a8c69ac7c94c4d0dab0999.tar.gz astro-3bd6758e1cdd4be617a8c69ac7c94c4d0dab0999.tar.zst astro-3bd6758e1cdd4be617a8c69ac7c94c4d0dab0999.zip |
[ci] format
-rw-r--r-- | packages/astro/src/transitions/router.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/src/transitions/router.ts b/packages/astro/src/transitions/router.ts index 9d7e39e5e..0084a9d74 100644 --- a/packages/astro/src/transitions/router.ts +++ b/packages/astro/src/transitions/router.ts @@ -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 { |