Files
bigcapital/packages/webapp/src/containers/Customers/withCustomerDetail.tsx
2023-02-03 01:02:31 +02:00

10 lines
271 B
TypeScript

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