fix waitFor issue

This commit is contained in:
Arthur Lu 2022-12-17 16:35:51 -08:00
parent 14e35fe670
commit aacb2cb86d

View File

@ -70,7 +70,7 @@ class Instance extends HTMLElement {
if(data.data.status === targetStatus) {
break;
}
waitFor(1000);
await waitFor(1000);
}
this.status = targetStatus;
let typeImg = this.shadowElement.querySelector("#instance-type");