Skip to content

Commit

Permalink
don't use page event for turnstile script loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Trombach committed Dec 8, 2024
1 parent 3048806 commit 44ddc36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Contact/ContactForm.astro
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,5 @@ const { data } = await getEntry(person);
}
}

window.addEventListener("pagereveal", init);
init();
</script>

1 comment on commit 44ddc36

@vercel
Copy link

@vercel vercel bot commented on 44ddc36 Dec 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.