Skip to content

Commit

Permalink
🚑 Fix default async load
Browse files Browse the repository at this point in the history
  • Loading branch information
CI committed Nov 24, 2023
1 parent 6b2cca7 commit b6a02e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "astro-beam",
"version": "1.1.0",
"version": "1.1.1",
"description": "BeamAnalytics integration for Astro",
"type": "module",
"exports": {
Expand Down
4 changes: 2 additions & 2 deletions src/BeamAnalytics.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { token, scriptUrl = DEFAULT_SCRIPT_URL, partytown = false } = Astro.props
tokenMatcher(token) ? null : console.error('Beam Analytics: Invalid token');
const type = partytown ? "text/partytown" : null;
const load = partytown ? null : "async";
const async = partytown ? null : "async";
---

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

0 comments on commit b6a02e7

Please sign in to comment.