@bigbinary/neeto-editor 1.47.2 → 1.47.3

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.
@@ -13851,7 +13851,7 @@ var Menu = /*#__PURE__*/function (_React$Component) {
13851
13851
  var nodeElement = /*#__PURE__*/React.createElement(MenuItem, {
13852
13852
  index: index,
13853
13853
  item: item,
13854
- key: item.title,
13854
+ key: item.optionName,
13855
13855
  selectItem: function selectItem() {
13856
13856
  return isLeafNode && _this2.selectItem(index);
13857
13857
  },
@@ -13882,7 +13882,7 @@ var Menu = /*#__PURE__*/function (_React$Component) {
13882
13882
  _this2.isSubmenuOpened = true;
13883
13883
  },
13884
13884
  children: nodeElement
13885
- }, item.title);
13885
+ }, item.optionName);
13886
13886
  })
13887
13887
  });
13888
13888
  }
@@ -13896,8 +13896,8 @@ var MenuItem = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
13896
13896
  onHover = _ref2.onHover;
13897
13897
  var Icon = item.Icon;
13898
13898
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
13899
- "data-cy": "neeto-editor-command-list-item-".concat(index),
13900
13899
  ref: ref,
13900
+ "data-cy": "neeto-editor-command-list-item-".concat(index),
13901
13901
  className: classnames("neeto-editor-slash-commands__item", {
13902
13902
  active: index === selectedIndex
13903
13903
  }),