From 8a050c0be07212a8ea5d8cb181222f4b05036f74 Mon Sep 17 00:00:00 2001
From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 25 Sep 2024 00:19:12 +0000
Subject: [PATCH] chore(deps): bump hast-util-to-html from 9.0.2 to 9.0.3 (#1434)

---
 quartz/components/ExplorerNode.tsx |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/quartz/components/ExplorerNode.tsx b/quartz/components/ExplorerNode.tsx
index 3137a3f..e57d677 100644
--- a/quartz/components/ExplorerNode.tsx
+++ b/quartz/components/ExplorerNode.tsx
@@ -224,10 +224,15 @@
               class="content"
               data-folderul={folderPath}
             >
-              {node.children.map((childNode) =>
-                // eagerly render children so we can memoize properly
-                ExplorerNode({ node: childNode, opts, fileData, fullPath: folderPath }),
-              )}
+              {node.children.map((childNode, i) => (
+                <ExplorerNode
+                  node={childNode}
+                  key={i}
+                  opts={opts}
+                  fullPath={folderPath}
+                  fileData={fileData}
+                />
+              ))}
             </ul>
           </div>
         </li>

--
Gitblit v1.10.0