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 d16cf01 commit 757b287Copy full SHA for 757b287
src/components/models/SchemaRow.astro
@@ -2,7 +2,7 @@
2
import { Type, MetaInfo } from "~/components";
3
import { type SchemaNode } from "@stoplight/json-schema-tree";
4
5
-const { node, root } = Astro.props;
+const { node } = Astro.props;
6
---
7
8
<li>
src/components/models/SchemaViewer.astro
@@ -56,7 +56,7 @@ jsonSchemaTree.populate();
56
<ul class="pl-0">
57
{
58
(jsonSchemaTree.root.children[0] as RegularNode).children?.map(
59
- (node: SchemaNode) => <SchemaRow node={node} root />,
+ (node: SchemaNode) => <SchemaRow node={node} />,
60
)
61
}
62
</ul>
0 commit comments