From 1648e376bf35a6a9a43900a4e0951a6706502c6b Mon Sep 17 00:00:00 2001 From: Thatsaphorn Atchariyaphap Date: Mon, 2 Jun 2025 16:55:08 +0200 Subject: [PATCH] Disable hCaptcha integration in ContactFormSection --- .../Contact/Section/ContactFormSection.tsx | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/frontend/components/Contact/Section/ContactFormSection.tsx b/frontend/components/Contact/Section/ContactFormSection.tsx index da100e1..927d173 100644 --- a/frontend/components/Contact/Section/ContactFormSection.tsx +++ b/frontend/components/Contact/Section/ContactFormSection.tsx @@ -35,11 +35,11 @@ const ContactFormSection = () => { setLoading(true); setError(""); - if (!captchaToken) { - setError("Bitte löse das CAPTCHA, um fortzufahren."); - setLoading(false); - return; - } + // if (!captchaToken) { + // setError("Bitte löse das CAPTCHA, um fortzufahren."); + // setLoading(false); + // return; + // } const res = await fetch("/api/contact", { method: "POST", @@ -189,11 +189,11 @@ const ContactFormSection = () => { {/* */} {/**/} - {error && ( -
- ❌ {error} -
- )} + {/*{error && (*/} + {/*
*/} + {/* ❌ {error}*/} + {/*
*/} + {/*)}*/}