diff --git a/src/components/tools/DonationCreate.svelte b/src/components/tools/DonationCreate.svelte index 7f2bf380..e8808880 100644 --- a/src/components/tools/DonationCreate.svelte +++ b/src/components/tools/DonationCreate.svelte @@ -69,11 +69,11 @@ function resetAll() { runnerinfo = { id: 0, firstname: "", lastname: "" }; donorinfo = { id: 0, firstname: "", lastname: "" }; - amount = 0; + amount = null; address_checked = false; donor_create_new = false; - selectRefRunner.reset(); - selectRefDonor.reset(); + selectRefRunner?.reset(); + selectRefDonor?.reset(); document.querySelector("#jjqzqicxujrnnh1x3447x18x").focus(); } onMount(() => {