We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e57af6c commit f9dd9b4Copy full SHA for f9dd9b4
packages/astro/src/default/components/PageLoadingIndicator.astro
@@ -8,7 +8,7 @@
8
</div>
9
10
<script>
11
- const progressEl = document.querySelector('div[data-id="page-loading-progress"]' as 'div');
+ const progressEl = document.querySelector('div[data-id="page-loading-progress"]' as 'div')!;
12
const storageKey = 'tk_plid';
13
const maxDurationWithoutProgressBar = 500;
14
packages/runtime/src/webcontainer/on-demand-boot.ts
@@ -29,8 +29,10 @@ export async function safeBoot(options: BootOptions) {
29
localBootStatus.set('booting');
30
}
31
32
- const webconntainer = await WebContainer.boot(options)
+ const webcontainer = await WebContainer.boot(options);
33
+
34
localBootStatus.set('booted');
35
36
return webcontainer;
37
38
0 commit comments