fixed payment ,colors , add Mosque distance and fixed some elemnent
All checks were successful
Build frontend / build (push) Successful in 1m7s
All checks were successful
Build frontend / build (push) Successful in 1m7s
This commit is contained in:
@ -17,12 +17,7 @@ export const validateStep1 = (formData, setErrors, t) => {
|
||||
newErrors.email = t("register.emailInvalid");
|
||||
}
|
||||
|
||||
if (!formData.phone?.trim()) {
|
||||
newErrors.phone = t("register.phoneRequired");
|
||||
} else if (!validatePhone(formData.phone)) {
|
||||
newErrors.phone = `${t("register.phoneInvalid")} (${t("register.phoneMustStartWith")} 09/05)`;
|
||||
}
|
||||
|
||||
|
||||
if (!formData.whatsapp?.trim()) {
|
||||
newErrors.whatsapp = t("register.whatsappRequired");
|
||||
} else if (!validatePhone(formData.whatsapp)) {
|
||||
|
||||
Reference in New Issue
Block a user