Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored and astrobot-houston committed Mar 13, 2024
1 parent dfd146f commit c9cde7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/astro/src/transitions/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -716,8 +716,8 @@ async function prepareForClientOnlyComponents(newDocument: Document, toLocation:

// return a promise that resolves when all astro-islands are hydrated
async function hydrationDone(loadingPage: HTMLIFrameElement) {
await new Promise(
(r) => loadingPage.contentWindow?.addEventListener('load', r, { once: true })
await new Promise((r) =>
loadingPage.contentWindow?.addEventListener('load', r, { once: true })
);

return new Promise<void>(async (r) => {
Expand Down

0 comments on commit c9cde7e

Please sign in to comment.