Skip to content

Commit f9dd9b4

Browse files
committed
fix: patch issues
1 parent e57af6c commit f9dd9b4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/astro/src/default/components/PageLoadingIndicator.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</div>
99
</div>
1010
<script>
11-
const progressEl = document.querySelector('div[data-id="page-loading-progress"]' as 'div');
11+
const progressEl = document.querySelector('div[data-id="page-loading-progress"]' as 'div')!;
1212
const storageKey = 'tk_plid';
1313
const maxDurationWithoutProgressBar = 500;
1414

packages/runtime/src/webcontainer/on-demand-boot.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ export async function safeBoot(options: BootOptions) {
2929
localBootStatus.set('booting');
3030
}
3131

32-
const webconntainer = await WebContainer.boot(options)
32+
const webcontainer = await WebContainer.boot(options);
33+
3334
localBootStatus.set('booted');
35+
3436
return webcontainer;
3537
}
3638

0 commit comments

Comments
 (0)