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