@bigbinary/neeto-molecules 1.0.72 → 1.0.73

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.
@@ -32165,11 +32165,12 @@ var Header = function Header() {
32165
32165
  data = _useFetchNeetoApps.data;
32166
32166
  var homePath = "/";
32167
32167
  if (data !== null && data !== void 0 && data.neetoApps) {
32168
- var _findBy = pure.findBy({
32169
- name: productName
32170
- }, data.neetoApps),
32171
- url = _findBy.url;
32172
- homePath = new URL(url).pathname;
32168
+ var thisApp = pure.findBy({
32169
+ name: productName
32170
+ }, data.neetoApps);
32171
+ if (thisApp !== null && thisApp !== void 0 && thisApp.url) {
32172
+ homePath = new URL(thisApp === null || thisApp === void 0 ? void 0 : thisApp.url).pathname;
32173
+ }
32173
32174
  }
32174
32175
  return /*#__PURE__*/React__default["default"].createElement("div", {
32175
32176
  className: "neeto-ui-flex neeto-ui-items-center neeto-molecules-sidebar__header",