From e5b40ba9f7f9cfda47c83fbbffd0f79f824c23eb Mon Sep 17 00:00:00 2001 From: Thatsaphorn Atchariyaphap Date: Mon, 21 Apr 2025 02:21:37 +0200 Subject: [PATCH] rename back to "err" --- components/Contact/Section/ContactFormSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); }