remove console.log
This commit is contained in:
parent
1fe90a72ea
commit
fde66f4390
@ -194,7 +194,7 @@ const EditCompanyProfile = () => {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log('Validating step:', stepIndex, 'with form values:', form);
|
|
||||||
const requiredFields = requiredFieldsByStep[stepIndex] || [];
|
const requiredFields = requiredFieldsByStep[stepIndex] || [];
|
||||||
if (!requiredFields.length) return true;
|
if (!requiredFields.length) return true;
|
||||||
|
|
||||||
@ -805,7 +805,7 @@ const EditCompanyProfile = () => {
|
|||||||
// Find emirate and city IDs by name for the API call
|
// Find emirate and city IDs by name for the API call
|
||||||
const selectedEmirate = emirateOptions.find(opt => opt.label === form.contactEmirate);
|
const selectedEmirate = emirateOptions.find(opt => opt.label === form.contactEmirate);
|
||||||
const selectedCity = contactCityOptions.find(opt => opt.label === form.contactCityTown);
|
const selectedCity = contactCityOptions.find(opt => opt.label === form.contactCityTown);
|
||||||
console.log('Selected Emirate:', form);
|
|
||||||
const establishmentData = {
|
const establishmentData = {
|
||||||
establishment_code: form.uniqueLicenseNumber || "",
|
establishment_code: form.uniqueLicenseNumber || "",
|
||||||
factory_name: form.contactName || "",
|
factory_name: form.contactName || "",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user