modal api useEffect

This commit is contained in:
YasinShaikh123
2024-11-22 19:57:05 +05:30
parent d4c9a5521f
commit 526d2aecca
3 changed files with 3 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ import RequestRejectModal from "./RequestRejectModal";
useEffect(() => {
console.log("hiit useEffectc");
if (id) {
if (id && IODetails) {
handleCalculate(id, {
amount: IODetails?.ioMVNAV,
});

View File

@@ -75,7 +75,7 @@ const ViewDistributionInvestor = ({ isOpen, onClose,id:exitId }) => {
// handleCalculate(id, {
// amount: IODetails?.ioMVNAV,
// });
if (id) {
if (id && IODetails) {
handleCalculate(id, {
amount: IODetails?.ioMVNAV,
});

View File

@@ -78,7 +78,7 @@ import RequestRejectModal from "./RequestRejectModal";
useEffect(() => {
console.log("hiit useEffectc");
if (id) {
if (id && IODetails) {
handleCalculate(id, {
amount: IODetails?.ioMVNAV,
});