Files
bigcapital/packages/webapp/src/containers/CashFlow/AccountTransactions/withCashflowAccountsTableActions.tsx
2026-01-01 21:58:42 +02:00

17 lines
513 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 const withCashflowAccountsTableActions = connect(null, mapActionsToProps);