@meduza/ui-kit-2 0.6.9 → 0.7.0

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.
@@ -1457,7 +1457,6 @@ const SimpleBlock = ({
1457
1457
  id = null
1458
1458
  }) => {
1459
1459
  let TagName;
1460
- let tagProps = {};
1461
1460
  let classNames = [[styles$i[type], !!type && !!styles$i[type]], [styles$i[onlyOn], true]];
1462
1461
  if (styleContext) {
1463
1462
  classNames = makeStyleContext(classNames, styleContext, styles$i);
@@ -1483,15 +1482,12 @@ const SimpleBlock = ({
1483
1482
  default:
1484
1483
  TagName = type;
1485
1484
  }
1486
- if (id) {
1487
- tagProps.id = id;
1488
- }
1489
1485
  return /*#__PURE__*/React.createElement(TagName, {
1490
1486
  className: makeClassName(classNames),
1491
1487
  dangerouslySetInnerHTML: {
1492
1488
  __html: data
1493
1489
  },
1494
- ...tagProps
1490
+ id: id
1495
1491
  });
1496
1492
  };
1497
1493