Files
bigcapital/packages/webapp/src/containers/CashFlow/AccountTransactions/withCashflowAccountsTableActions.tsx
2023-02-03 01:02:31 +02:00

17 lines
480 B
TypeScript

// @ts-nocheck
import { connect } from 'react-redux';
import {
setCashflowAccountsTableState,
resetCashflowAccountsTableState,
} from '@/store/CashflowAccounts/CashflowAccounts.actions';
const mapActionsToProps = (dispatch) => ({
setCashflowAccountsTableState: (queries) =>
dispatch(setCashflowAccountsTableState(queries)),
resetCashflowAccountsTableState: () =>
dispatch(resetCashflowAccountsTableState()),
});
export default connect(null, mapActionsToProps);