fix: await #2
This commit is contained in:
@@ -142,7 +142,7 @@
|
||||
});
|
||||
onMount(async () => {
|
||||
loadBuildingStatusInterval = setInterval(() => {
|
||||
application.previewApplication.forEach((preview: any) => {
|
||||
application.previewApplication.forEach(async (preview: any) => {
|
||||
if (status[id] === 'building') {
|
||||
await getStatus(preview);
|
||||
}
|
||||
|
Reference in New Issue
Block a user