mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
13 lines
402 B
JavaScript
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);
|