mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
[ci] format
This commit is contained in:
parent
699f4559a2
commit
01cb41763e
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue