@undp/carbon-library 1.0.136-support-section-changes.0 → 1.0.136-support-section-changes.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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();
|