Skip to content

Commit 5af0cd0

Browse files
committed
fix
1 parent 5b95dd8 commit 5af0cd0

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/generators/jsx/utils/buildContent.mjs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,10 @@ function visitStabilityNode(node, index, parent) {
2121
parent.children.splice(
2222
index,
2323
1,
24-
createTree('paragraph', {
25-
children: [
26-
createJSXElement('AlertBox', {
27-
children: node.data.description,
28-
level: STABILITY_LEVELS[node.data.index],
29-
title: node.data.index,
30-
}),
31-
],
24+
createJSXElement('AlertBox', {
25+
children: node.data.description,
26+
level: STABILITY_LEVELS[node.data.index],
27+
title: node.data.index,
3228
})
3329
);
3430
return [SKIP];

0 commit comments

Comments
 (0)