mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
16 lines
459 B
TypeScript
16 lines
459 B
TypeScript
// @ts-nocheck
|
|
import { connect } from 'react-redux';
|
|
import {
|
|
setVendorCreditTableState,
|
|
resetVendorCreditTableState,
|
|
} from '@/store/VendorCredit/vendorCredit.actions';
|
|
|
|
const mapDispatchToProps = (dispatch) => ({
|
|
setVendorsCreditNoteTableState: (queries) =>
|
|
dispatch(setVendorCreditTableState(queries)),
|
|
resetVendorsCreditNoteTableState: () =>
|
|
dispatch(resetVendorCreditTableState()),
|
|
});
|
|
|
|
export default connect(null, mapDispatchToProps);
|