From 01cb41763e74d504c835d3f628ba51bce2b33756 Mon Sep 17 00:00:00 2001 From: Martin Trapp Date: Mon, 15 Apr 2024 08:59:52 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/transitions/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/astro/src/transitions/router.ts b/packages/astro/src/transitions/router.ts index e65b613c93e1..e0ffb4d7eef4 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((r)=>setTimeout(r)); + await new Promise((r) => setTimeout(r)); // Trigger view transition animations waiting for data-astro-transition-fallback document.documentElement.setAttribute(OLD_NEW_ATTR, phase); const nextAnimations = document.getAnimations();