From c35cd422c65a58f1069302aad0cf9eef7f93d987 Mon Sep 17 00:00:00 2001
From: Ben Schlegel <31989404+benschlegel@users.noreply.github.com>
Date: Mon, 28 Aug 2023 17:00:49 +0000
Subject: [PATCH] fix: correct graph labels for `index.md` nodes (#431)
---
quartz/components/Graph.tsx | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/quartz/components/Graph.tsx b/quartz/components/Graph.tsx
index 0c54bdb..e159aa5 100644
--- a/quartz/components/Graph.tsx
+++ b/quartz/components/Graph.tsx
@@ -47,8 +47,8 @@
export default ((opts?: GraphOptions) => {
function Graph() {
- const localGraph = { ...defaultOptions.localGraph, ...opts?.localGraph, }
- const globalGraph = { ...defaultOptions.globalGraph, ...opts?.globalGraph, }
+ const localGraph = { ...defaultOptions.localGraph, ...opts?.localGraph }
+ const globalGraph = { ...defaultOptions.globalGraph, ...opts?.globalGraph }
return (
<div class="graph">
<h3>Graph View</h3>
--
Gitblit v1.10.0