summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/src/transitions/router.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/transitions/router.ts b/packages/astro/src/transitions/router.ts
index e65b613c9..e0ffb4d7e 100644
--- a/packages/astro/src/transitions/router.ts
+++ b/packages/astro/src/transitions/router.ts
@@ -398,7 +398,7 @@ async function updateDOM(
}
const currentAnimations = document.getAnimations();
// allow animations triggered by viewTransition.ready to start
- await new Promise<void>((r)=>setTimeout(r));
+ await new Promise<void>((r) => setTimeout(r));
// Trigger view transition animations waiting for data-astro-transition-fallback
document.documentElement.setAttribute(OLD_NEW_ATTR, phase);
const nextAnimations = document.getAnimations();