mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
9 lines
260 B
JavaScript
9 lines
260 B
JavaScript
import { connect } from 'react-redux';
|
|
import { getCustomerById } from 'store/customers/customers.reducer';
|
|
|
|
const mapStateToProps = (state, props) => ({
|
|
customerDetail: getCustomerById(state, props.customerId),
|
|
});
|
|
|
|
export default connect(mapStateToProps);
|