@evergis/uilib-gl 1.0.86 → 1.0.87

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.
@@ -18116,9 +18116,8 @@ const MenuComponent = _ref => {
18116
18116
  const renderChildren = useMemo(() => {
18117
18117
  if (!children || multiple) return null; // options passed as children
18118
18118
 
18119
- return Children.toArray(children).map(item => {
18119
+ return Children.toArray(children).map((item, itemIndex) => {
18120
18120
  const {
18121
- key,
18122
18121
  text,
18123
18122
  value,
18124
18123
  icon,
@@ -18128,7 +18127,7 @@ const MenuComponent = _ref => {
18128
18127
  disabled
18129
18128
  } = item.props;
18130
18129
  return React.createElement(OptionContainer, {
18131
- key: `child-${value || text || synthKey || key}`,
18130
+ key: `child-${value || text || synthKey || itemIndex}`,
18132
18131
  nullable: value === null,
18133
18132
  className: className,
18134
18133
  onClick: onClick,