Files
bigcapital/packages/webapp/src/containers/Sales/PaymentsReceived/PaymentsLanding/withPaymentsReceivedActions.tsx
2024-08-13 15:15:07 +02:00

17 lines
470 B
TypeScript

// @ts-nocheck
import { connect } from 'react-redux';
import {
setPaymentReceivesTableState,
resetPaymentReceivesTableState,
} from '@/store/PaymentReceives/paymentReceives.actions';
const mapDispatchToProps = (dispatch) => ({
setPaymentReceivesTableState: (state) =>
dispatch(setPaymentReceivesTableState(state)),
resetPaymentReceivesTableState: () =>
dispatch(resetPaymentReceivesTableState()),
});
export default connect(null, mapDispatchToProps);