From 69bd514f3390fcbea912681b0fda84769bebaee1 Mon Sep 17 00:00:00 2001 From: manunamz Date: Thu, 12 Oct 2023 16:51:30 -0400 Subject: [PATCH] ref: semtree updates. --- package.json | 2 +- src/components/Branch.astro | 4 ++-- src/components/BreadCrumbs.astro | 6 +++--- src/pages/map.astro | 4 ++-- src/wikibonsai/semtree.ts | 6 +++--- yarn.lock | 8 ++++---- 6 files changed, 15 insertions(+), 15 deletions(-) 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 : []; ---