diff --git a/src/shared/components/Settings/Profile/BasicInfo/index.jsx b/src/shared/components/Settings/Profile/BasicInfo/index.jsx index 1bec3d5d08..20c2398621 100644 --- a/src/shared/components/Settings/Profile/BasicInfo/index.jsx +++ b/src/shared/components/Settings/Profile/BasicInfo/index.jsx @@ -206,6 +206,7 @@ export default class BasicInfo extends ConsentComponent { newBasicInfo.tshirtSize = null; } + newProfileInfo.addresses[0] = _.omit(newProfileInfo.addresses[0], ['createdAt', 'updatedBy', 'createdBy', 'updatedAt']); _.forEach(newProfileInfo.addresses[0], (value, key) => { newProfileInfo.addresses[0][key] = _.trim(value); });