From b2f53c37c5d465a5ca52011696e62f2d3d2d2fc2 Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Wed, 6 Jul 2022 20:59:56 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/runtime/server/astro-island.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/astro/src/runtime/server/astro-island.ts b/packages/astro/src/runtime/server/astro-island.ts index 6cb5a5339a..4f74326311 100644 --- a/packages/astro/src/runtime/server/astro-island.ts +++ b/packages/astro/src/runtime/server/astro-island.ts @@ -42,7 +42,7 @@ declare const Astro: { public hydrator: any; static observedAttributes = ['props']; connectedCallback() { - if(this.getAttribute('client') === 'only' || this.firstChild) { + if (this.getAttribute('client') === 'only' || this.firstChild) { this.childrenConnectedCallback(); } else { // connectedCallback may run *before* children are rendered (ex. HTML streaming) @@ -70,7 +70,7 @@ declare const Astro: { return this.hydrate; }, opts, - this, + this ); } hydrate = () => {