Files
bigcapital/client/src/containers/Customers/CustomersLanding/withCustomersActions.js
2021-09-15 16:31:58 +02:00

13 lines
402 B
JavaScript

import { connect } from 'react-redux';
import {
setCustomersTableState,
resetCustomersTableState
} from 'store/customers/customers.actions';
export const mapDispatchToProps = (dispatch) => ({
setCustomersTableState: (state) => dispatch(setCustomersTableState(state)),
resetCustomersTableState: () => dispatch(resetCustomersTableState()),
});
export default connect(null, mapDispatchToProps);