diff --git a/components/Contact/Section/ContactFormSection.tsx b/components/Contact/Section/ContactFormSection.tsx index 0e383f1..9863dc8 100644 --- a/components/Contact/Section/ContactFormSection.tsx +++ b/components/Contact/Section/ContactFormSection.tsx @@ -56,7 +56,7 @@ const ContactFormSection = () => { const resJson = await res.json(); setError(resJson?.error || "Ein Fehler ist aufgetreten. Bitte versuche es später erneut."); } - } catch (_err) { + } catch (err) { setError("Serverfehler. Bitte versuche es später erneut."); }