[ci] format
This commit is contained in:
parent
5e82f6c245
commit
0402eb0972
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ declare const Astro: {
|
|||
start() {
|
||||
const opts = JSON.parse(this.getAttribute('opts')!) as Record<string, any>;
|
||||
const directive = this.getAttribute('client') as directiveAstroKeys;
|
||||
if(Astro[directive] === undefined) {
|
||||
if (Astro[directive] === undefined) {
|
||||
window.addEventListener(`astro:${directive}`, () => this.start(), { once: true });
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue