Skip to content

Commit df72d65

Browse files
1$ stats script type module
1 parent 7ccc792 commit df72d65

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

website/components/OneDollarStats.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ const oneDollarSnippet = () => {
7070
}
7171
const values = { ...props };
7272
for (const key in params) {
73-
// @ts-expect-error somehow typescript bugs
7473
const value = params[key];
7574
if (value !== null && value !== undefined) {
7675
values[key] = truncate(
@@ -101,6 +100,7 @@ function Component({ collectorAddress, staticScriptUrl }: Props) {
101100
data-autocollect="false"
102101
data-hash-routing="true"
103102
data-url={collector}
103+
type="module"
104104
src={`/live/invoke/website/loaders/analyticsScript.ts?url=${staticScript}`}
105105
/>
106106
<script defer src={useScriptAsDataURI(oneDollarSnippet)} />

0 commit comments

Comments
 (0)