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;
|
||||
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 = () => {
|
||||
|
|
Loading…
Reference in a new issue