warning updated

This commit is contained in:
akash 2026-03-17 18:20:46 +05:30
parent 73daea374c
commit 5503bc33b4

View File

@ -104,7 +104,7 @@ const FaqVideoSection = () => {
</div> </div>
)} )}
<form className="faq-contact-form" onSubmit={handleSubmit}> <form className="faq-contact-form" onSubmit={handleSubmit} suppressHydrationWarning>
<div className="row"> <div className="row">
<div className="col-md-6 mb-20"> <div className="col-md-6 mb-20">
<label className="faq-form-label">Full Name</label> <label className="faq-form-label">Full Name</label>
@ -114,6 +114,7 @@ const FaqVideoSection = () => {
placeholder="Full Name" placeholder="Full Name"
value={formData.name} value={formData.name}
onChange={handleChange} onChange={handleChange}
suppressHydrationWarning
/> />
{formErrors.name && <small className="faq-error">{formErrors.name}</small>} {formErrors.name && <small className="faq-error">{formErrors.name}</small>}
</div> </div>
@ -125,6 +126,7 @@ const FaqVideoSection = () => {
placeholder="Email Address" placeholder="Email Address"
value={formData.email} value={formData.email}
onChange={handleChange} onChange={handleChange}
suppressHydrationWarning
/> />
{formErrors.email && <small className="faq-error">{formErrors.email}</small>} {formErrors.email && <small className="faq-error">{formErrors.email}</small>}
</div> </div>
@ -136,6 +138,7 @@ const FaqVideoSection = () => {
placeholder="Phone Number" placeholder="Phone Number"
value={formData.phone} value={formData.phone}
onChange={handleChange} onChange={handleChange}
suppressHydrationWarning
/> />
{formErrors.phone && <small className="faq-error">{formErrors.phone}</small>} {formErrors.phone && <small className="faq-error">{formErrors.phone}</small>}
</div> </div>
@ -146,6 +149,7 @@ const FaqVideoSection = () => {
value={formData.service} value={formData.service}
onChange={handleChange} onChange={handleChange}
className="faq-select" className="faq-select"
suppressHydrationWarning
> >
<option value="">Select Service</option> <option value="">Select Service</option>
<option value="Website Development">Website Development</option> <option value="Website Development">Website Development</option>
@ -165,6 +169,7 @@ const FaqVideoSection = () => {
rows={5} rows={5}
value={formData.message} value={formData.message}
onChange={handleChange} onChange={handleChange}
suppressHydrationWarning
></textarea> ></textarea>
{formErrors.message && <small className="faq-error">{formErrors.message}</small>} {formErrors.message && <small className="faq-error">{formErrors.message}</small>}
</div> </div>