mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-22 15:50:32 +00:00
chore: Refactoring all import directories to alias and all .js|.jsx renamed to be .ts|.tsx
This commit is contained in:
8
src/containers/Customers/withCustomerDetail.tsx
Normal file
8
src/containers/Customers/withCustomerDetail.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
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);
|
||||
Reference in New Issue
Block a user