mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
17 lines
518 B
TypeScript
17 lines
518 B
TypeScript
// @ts-nocheck
|
|
import { connect } from 'react-redux';
|
|
import {
|
|
setBillsTableState,
|
|
resetBillsTableState,
|
|
setBillsSelectedRows,
|
|
} from '@/store/Bills/bills.actions';
|
|
|
|
const mapDispatchToProps = (dispatch) => ({
|
|
setBillsTableState: (queries) => dispatch(setBillsTableState(queries)),
|
|
resetBillsTableState: () => dispatch(resetBillsTableState()),
|
|
setBillsSelectedRows: (selectedRows) =>
|
|
dispatch(setBillsSelectedRows(selectedRows)),
|
|
});
|
|
|
|
export const withBillsActions = connect(null, mapDispatchToProps);
|