deleted console.log
This commit is contained in:
@@ -39,7 +39,6 @@ const Profile = observer (() => {
|
|||||||
...prevState,
|
...prevState,
|
||||||
[field]: value,
|
[field]: value,
|
||||||
}))
|
}))
|
||||||
console.log(addedValues)
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const changeUpdatedValues = (value, field, key) => {
|
const changeUpdatedValues = (value, field, key) => {
|
||||||
@@ -66,14 +65,12 @@ const Profile = observer (() => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const checkFillingUpdateForm = (eventTarget) => {
|
const checkFillingUpdateForm = (eventTarget) => {
|
||||||
console.log(eventTarget);
|
|
||||||
if (eventTarget && eventTarget.id === 'sendingUpdatedValues') {
|
if (eventTarget && eventTarget.id === 'sendingUpdatedValues') {
|
||||||
const checkingCondition = updatedValues.every(item => !Object.keys(item).find(elem => !item[elem]));
|
const checkingCondition = updatedValues.every(item => !Object.keys(item).find(elem => !item[elem]));
|
||||||
if (checkingCondition) {
|
if (checkingCondition) {
|
||||||
setFillingUpdateForm(true);
|
setFillingUpdateForm(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(updatedValues);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleSelectedItems = (selectedItems) => {
|
const handleSelectedItems = (selectedItems) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user