@superinterface/react 2.17.4 → 2.17.5
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.
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1506,12 +1506,13 @@ var remarkAnnotation = function(param) {
|
|
|
1506
1506
|
return function() {
|
|
1507
1507
|
return function(tree) {
|
|
1508
1508
|
(0, import_unist_util_flatmap.default)(tree, function(node) {
|
|
1509
|
+
var _content_text_annotations, _content_text;
|
|
1509
1510
|
if (node.type !== "text") {
|
|
1510
1511
|
return [
|
|
1511
1512
|
node
|
|
1512
1513
|
];
|
|
1513
1514
|
}
|
|
1514
|
-
if (!content.text.annotations.length) {
|
|
1515
|
+
if (!((_content_text = content.text) === null || _content_text === void 0 ? void 0 : (_content_text_annotations = _content_text.annotations) === null || _content_text_annotations === void 0 ? void 0 : _content_text_annotations.length)) {
|
|
1515
1516
|
return [
|
|
1516
1517
|
node
|
|
1517
1518
|
];
|