diff --git a/frontend/src/containers/profileSettings/BillingAddressesContainer.jsx b/frontend/src/containers/profileSettings/BillingAddressesContainer.jsx index 93d9c41..df0ebf0 100644 --- a/frontend/src/containers/profileSettings/BillingAddressesContainer.jsx +++ b/frontend/src/containers/profileSettings/BillingAddressesContainer.jsx @@ -21,7 +21,7 @@ class BillingAddressesContainer extends Component { } saveBillingAddress(address){ - this.props.dispatch(saveBillingAddress(this.props.idUser, this.props.idCompany, address)); + this.props.dispatch(saveBillingAddress(this.props.idUser, address)); } onAddressChange(address){ diff --git a/frontend/src/containers/profileSettings/ProfileAddressesContainer.jsx b/frontend/src/containers/profileSettings/ProfileAddressesContainer.jsx index b636cd9..32f4b3a 100644 --- a/frontend/src/containers/profileSettings/ProfileAddressesContainer.jsx +++ b/frontend/src/containers/profileSettings/ProfileAddressesContainer.jsx @@ -128,8 +128,8 @@ class ProfileAddressesContainer extends Component {
{ - (profileInfo && profileInfo.profileAddresses && profileInfo.profileAddresses.length > 0 ) && - profileInfo.profileAddresses.map(address => + (profileInfo && profileInfo.deliveryAddresses && profileInfo.deliveryAddresses.length > 0 ) && + profileInfo.deliveryAddresses.map(address =>