Skip to content

Commit

Permalink
fix: form element type
Browse files Browse the repository at this point in the history
  • Loading branch information
iankressin committed Aug 23, 2024
1 parent 5c44202 commit 76f8f61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion research/src/layouts/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@

<script>
document.addEventListener('DOMContentLoaded', () => {
const form = document.getElementById('subscribe-form')
// TODO: this should be moved to another comp. along with the email form
const form = document.getElementById('subscribe-form') as HTMLFormElement | null

if (form) {
// Fetch CSRF token
Expand Down

0 comments on commit 76f8f61

Please sign in to comment.