diff --git a/front/src/pages/PageContact.svelte b/front/src/pages/PageContact.svelte index a1fe001..db4e95b 100644 --- a/front/src/pages/PageContact.svelte +++ b/front/src/pages/PageContact.svelte @@ -7,7 +7,7 @@ const minMessageLength = 150; - let formMessage: Promise; + let formMessage: Promise; let name = ""; let email = ""; @@ -37,7 +37,7 @@ validateName(); validateEmail(); validateMessage(); - return error; + throw error; }); }