mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
13 lines
395 B
JavaScript
13 lines
395 B
JavaScript
import { connect } from 'react-redux';
|
|
import {
|
|
setEstimatesTableState,
|
|
resetEstimatesTableState,
|
|
} from 'store/Estimate/estimates.actions';
|
|
|
|
const mapDispatchToProps = (dispatch) => ({
|
|
setEstimatesTableState: (state) => dispatch(setEstimatesTableState(state)),
|
|
resetEstimatesTableState: () => dispatch(resetEstimatesTableState()),
|
|
});
|
|
|
|
export default connect(null, mapDispatchToProps);
|