From 763efe784a249cc4cdbc2aae66bc7ed7caf75148 Mon Sep 17 00:00:00 2001 From: Claire Olmstead <olmsteadclaire@gmail.com> Date: Wed, 27 Nov 2024 10:07:50 -0800 Subject: [PATCH] update thank you card --- src/components/GetNotified/ContactThankYou.svelte | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/GetNotified/ContactThankYou.svelte b/src/components/GetNotified/ContactThankYou.svelte index 0587e2a1..fd7caedb 100644 --- a/src/components/GetNotified/ContactThankYou.svelte +++ b/src/components/GetNotified/ContactThankYou.svelte @@ -1,10 +1,9 @@ <script lang="ts"> import ThankYouWaves from '$lib/assets/Contact/ThankYouWave.svg'; - export let onClick = (e: Event) => {}; + + export let onClick: (e: MouseEvent) => void; </script> -<!-- svelte-ignore a11y_click_events_have_key_events --> -<!-- svelte-ignore a11y_no_static_element_interactions --> -<div class="flex cursor-pointer items-center justify-center" onclick={onClick}> +<button class="flex cursor-pointer items-center justify-center" onclick={onClick}> <img src={ThankYouWaves} alt="Frequency waves with 'Thank you!' caption" /> -</div> +</button>