0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00

[ci] format

This commit is contained in:
Martin Trapp 2024-04-15 08:59:52 +00:00 committed by astrobot-houston
parent 699f4559a2
commit 01cb41763e

View file

@ -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();