modal api useEffect #19

Merged
Siddhesh.More merged 1 commits from Yasin into release/sprint-8 2024-11-22 14:27:50 +00:00
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,
});