Fix : Customers.

This commit is contained in:
elforjani3
2020-11-11 17:27:44 +02:00
parent 77aeaf2c60
commit cda856ef8d
4 changed files with 86 additions and 71 deletions

View File

@@ -2,7 +2,7 @@ import { connect } from 'react-redux';
import { getCustomerById } from 'store/customers/customers.reducer';
const mapStateToProps = (state, props) => ({
customer: getCustomerById(state, props.customerId),
customerDetail: getCustomerById(state, props.customerId),
});
export default connect(mapStateToProps);