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.
2 parents 80c9390 + 8f6ce64 commit 6e4af3fCopy full SHA for 6e4af3f
src/components/Banner/index.astro
@@ -12,7 +12,7 @@ const { link, title } = entry.data;
12
<button id="hideBanner" aria-label="Hide banner"><Icon kind="close" /></button>
13
</div>
14
15
-<script>
+<script is:inline>
16
const banner = document.querySelector('.banner');
17
const hideBannerBtn = document.querySelector('#hideBanner');
18
if (banner && hideBannerBtn) {
0 commit comments