diff --git a/package.json b/package.json index 5d2b8fb..3b4a35f 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "gray-matter": "^4.0.3", "remark-caml": "^0.0.6-rm", "remark-wikirefs": "^0.0.7-rm", - "semtree": "^0.0.2", + "semtree": "^0.0.4", "unist-util-select": "^5.0.0", "wikirefs": "^0.0.4" } diff --git a/src/components/Branch.astro b/src/components/Branch.astro index 896a911..6fb8740 100644 --- a/src/components/Branch.astro +++ b/src/components/Branch.astro @@ -6,7 +6,7 @@ import { bonsai } from '../wikibonsai/semtree'; const { nodes } = Astro.props; const root = bonsai ? bonsai.root : ''; -const tree = bonsai ? bonsai.tree : []; +const treeNodes = bonsai ? bonsai.nodes : []; ---