@undp/carbon-library 1.0.136-support-section-changes.0 → 1.0.136-support-section-changes.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +4 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
@@ -14088,6 +14088,7 @@ var InvestmentCreationComponent = function (props) {
|
|
14088
14088
|
});
|
14089
14089
|
}); };
|
14090
14090
|
React.useEffect(function () {
|
14091
|
+
console.log("state ---------------- > ", state);
|
14091
14092
|
if (!state) {
|
14092
14093
|
onNavigateToProgrammeManagementView();
|
14093
14094
|
return;
|
@@ -14095,6 +14096,9 @@ var InvestmentCreationComponent = function (props) {
|
|
14095
14096
|
if (state === null || state === void 0 ? void 0 : state.record) {
|
14096
14097
|
setData(state === null || state === void 0 ? void 0 : state.record);
|
14097
14098
|
}
|
14099
|
+
else {
|
14100
|
+
setData({});
|
14101
|
+
}
|
14098
14102
|
}, []);
|
14099
14103
|
React.useEffect(function () {
|
14100
14104
|
getOrganisationsDetails();
|