Skip to content

Commit

Permalink
change to js
Browse files Browse the repository at this point in the history
  • Loading branch information
jdonszelmann committed May 21, 2024
1 parent 8acff5d commit c6e2567
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import Sponsor from "../components/sponsor.astro";
import SponsorTier from "../components/sponsor-tier.astro";
---

<script>
<script lang="javascript">
document.querySelectorAll("[signup-form]").forEach((form) => {
form.addEventListener("submit", async (e: SubmitEvent) => {
form.addEventListener("submit", async (e) => {
e.preventDefault();
console.log(e);
await fetch(
Expand Down

0 comments on commit c6e2567

Please sign in to comment.