site key updated
This commit is contained in:
parent
69c744fae2
commit
ca7aa8afc3
@ -41,7 +41,7 @@ export default function ContactForm() {
|
||||
if (!formData.number.trim()) errors.number = "Phone number is required.";
|
||||
if (!formData.product.trim()) errors.product = "Please select a product.";
|
||||
if (!formData.message.trim()) errors.message = "Message is required.";
|
||||
if (!captchaToken) errors.captcha = "Please verify the CAPTCHA.";
|
||||
// if (!captchaToken) errors.captcha = "Please verify the CAPTCHA.";
|
||||
|
||||
setFormErrors(errors);
|
||||
if (Object.keys(errors).length > 0) return;
|
||||
@ -213,7 +213,7 @@ export default function ContactForm() {
|
||||
|
||||
<div className="col-lg-12 wow fadeInUp" data-wow-delay=".3s">
|
||||
<ReCAPTCHA
|
||||
sitekey="6LcmnZYrAAAAAL62hHdDnlbvznuOpcHfZIc3DN5b"
|
||||
sitekey="6Lf2wZ8rAAAAAG9QvBXUBP-D9O0SjEKoN-pUDp-d"
|
||||
onChange={handleCaptchaChange}
|
||||
/>
|
||||
{formErrors.captcha && (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user