mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
10 lines
271 B
TypeScript
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);
|