Files
bigcapital/src/containers/InventoryAdjustments/withInventoryAdjustmentActions.tsx

10 lines
356 B
TypeScript

import { connect } from 'react-redux';
import { setInventoryAdjustmentsTableState } from '@/store/inventoryAdjustments/inventoryAdjustment.actions';
const mapDispatchToProps = (dispatch) => ({
setInventoryAdjustmentTableState: (queries) =>
dispatch(setInventoryAdjustmentsTableState(queries)),
});
export default connect(null, mapDispatchToProps);