mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
[ci] format
This commit is contained in:
parent
cd3f6348c4
commit
b2f53c37c5
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ declare const Astro: {
|
||||||
public hydrator: any;
|
public hydrator: any;
|
||||||
static observedAttributes = ['props'];
|
static observedAttributes = ['props'];
|
||||||
connectedCallback() {
|
connectedCallback() {
|
||||||
if(this.getAttribute('client') === 'only' || this.firstChild) {
|
if (this.getAttribute('client') === 'only' || this.firstChild) {
|
||||||
this.childrenConnectedCallback();
|
this.childrenConnectedCallback();
|
||||||
} else {
|
} else {
|
||||||
// connectedCallback may run *before* children are rendered (ex. HTML streaming)
|
// connectedCallback may run *before* children are rendered (ex. HTML streaming)
|
||||||
|
@ -70,7 +70,7 @@ declare const Astro: {
|
||||||
return this.hydrate;
|
return this.hydrate;
|
||||||
},
|
},
|
||||||
opts,
|
opts,
|
||||||
this,
|
this
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
hydrate = () => {
|
hydrate = () => {
|
||||||
|
|
Loading…
Reference in a new issue