Skip to content
This repository was archived by the owner on May 31, 2026. It is now read-only.

Commit 27e0af8

Browse files
Darkflame72Copilot
andauthored
Update src/pages/contact.astro
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8efbd08 commit 27e0af8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/pages/contact.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,10 @@ import Layout from '@layouts/Layout.astro';
9595
</Section>
9696
</Layout>
9797
<script>
98-
function formSubjectChange(event: HTMLSelectElement) {
98+
function formSubjectChange(event: Event) {
9999
let action;
100-
switch ((event as any).value) {
100+
const select = event.target as HTMLSelectElement;
101+
switch (select.value) {
101102
case 'Session Query':
102103
action = 'https://submit-form.com/TZiHVi9Ke';
103104
break;

0 commit comments

Comments
 (0)