Skip to content

Commit b6a02e7

Browse files
author
CI
committed
πŸš‘ Fix default async load
1 parent 6b2cca7 commit b6a02e7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "astro-beam",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "BeamAnalytics integration for Astro",
55
"type": "module",
66
"exports": {

β€Žsrc/BeamAnalytics.astroβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const { token, scriptUrl = DEFAULT_SCRIPT_URL, partytown = false } = Astro.props
1212
tokenMatcher(token) ? null : console.error('Beam Analytics: Invalid token');
1313
1414
const type = partytown ? "text/partytown" : null;
15-
const load = partytown ? null : "async";
15+
const async = partytown ? null : "async";
1616
---
1717

18-
<script src={scriptUrl} data-token={token} {type} {load}></script>
18+
<script src={scriptUrl} data-token={token} {type} {async}></script>

0 commit comments

Comments
Β (0)