fix: Typo payments made

This commit is contained in:
Ahmed Bouhuolia
2024-08-13 19:10:09 +02:00
parent cd90fede54
commit bbcf695a6c
49 changed files with 45 additions and 45 deletions

View File

@@ -0,0 +1,20 @@
// @ts-nocheck
import { connect } from 'react-redux';
import {
getPaymentMadesTableStateFactory,
paymentsTableStateChangedFactory,
} from '@/store/PaymentMades/paymentMades.selector';
export default (mapState) => {
const getPaymentMadesTableState = getPaymentMadesTableStateFactory();
const paymentsTableStateChanged = paymentsTableStateChangedFactory();
const mapStateToProps = (state, props) => {
const mapped = {
paymentMadesTableState: getPaymentMadesTableState(state, props),
paymentsTableStateChanged: paymentsTableStateChanged(state, props),
};
return mapState ? mapState(mapped, state, props) : mapped;
};
return connect(mapStateToProps);
};