@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/esm/index.js CHANGED
@@ -14068,6 +14068,7 @@ var InvestmentCreationComponent = function (props) {
14068
14068
  });
14069
14069
  }); };
14070
14070
  useEffect(function () {
14071
+ console.log("state ---------------- > ", state);
14071
14072
  if (!state) {
14072
14073
  onNavigateToProgrammeManagementView();
14073
14074
  return;
@@ -14075,6 +14076,9 @@ var InvestmentCreationComponent = function (props) {
14075
14076
  if (state === null || state === void 0 ? void 0 : state.record) {
14076
14077
  setData(state === null || state === void 0 ? void 0 : state.record);
14077
14078
  }
14079
+ else {
14080
+ setData({});
14081
+ }
14078
14082
  }, []);
14079
14083
  useEffect(function () {
14080
14084
  getOrganisationsDetails();