We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd0f9f0 commit 234f055Copy full SHA for 234f055
integrations/utils/makeComponentNode.ts
@@ -21,7 +21,7 @@ export function makeComponentNode(
21
type: "mdxJsxFlowElement",
22
name,
23
attributes: Object.entries(attributes)
24
- // Filter out non-truthy attributes to avoid empty attrs being parsed as `true`.
+ // Filter out non-truthy attributes to avoid empty attributes being parsed as `true`.
25
.filter(([_k, v]) => v !== false && Boolean(v))
26
.map(([name, value]) => ({
27
type: "mdxJsxAttribute",
0 commit comments