Skip to content

Commit a9d6b65

Browse files
committed
fix typescript warning
1 parent bf6e95e commit a9d6b65

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

apps/lookbook/src/pages/demos/animated-billboards.astro

+2-4
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ import {description, showSource, title} from './_animated-billboards.json';
77
<canvas id="canvas-container" resize-to="window"></canvas>
88

99
<div class="loading-wrapper">
10-
<div class="loading-content">
11-
.&nbsp;.&nbsp;.&nbsp;l&nbsp;o&nbsp;a&nbsp;d&nbsp;i&nbsp;n&nbsp;g&nbsp;.&nbsp;.&nbsp;.
12-
</div>
10+
<div class="loading-content">.&nbsp;.&nbsp;.&nbsp;l&nbsp;o&nbsp;a&nbsp;d&nbsp;i&nbsp;n&nbsp;g&nbsp;.&nbsp;.&nbsp;.</div>
1311
</div>
1412

1513
<p slot="demo-description">{description}</p>
@@ -112,5 +110,5 @@ import {description, showSource, title} from './_animated-billboards.json';
112110
console.log('AnimatedSprites', mesh);
113111
});
114112

115-
document.querySelector('.loading-wrapper').style.display = 'none';
113+
(document.querySelector('.loading-wrapper') as HTMLDivElement).style.display = 'none';
116114
</script>

0 commit comments

Comments
 (0)