Files
bigcapital/client/src/containers/Sales/Estimates/EstimatesLanding/withEstimatesActions.js
a.bouhuolia af34986aac feat: style read-only drawers.
fix: empty state in resources tables.
2021-08-24 14:57:19 +02:00

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);