From 3bd6758e1cdd4be617a8c69ac7c94c4d0dab0999 Mon Sep 17 00:00:00 2001 From: Martin Trapp Date: Thu, 4 Apr 2024 17:06:11 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/transitions/router.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/astro/src/transitions/router.ts b/packages/astro/src/transitions/router.ts index 9d7e39e5e14d..0084a9d74ea2 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 {