From c5f0b69a52c6d23b9db6daf9ae3f1d75684ef2d9 Mon Sep 17 00:00:00 2001
From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 12 Aug 2024 20:37:54 +0000
Subject: [PATCH] chore(deps): bump preact from 10.22.1 to 10.23.2 (#1342)
---
quartz/components/scripts/graph.inline.ts | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/quartz/components/scripts/graph.inline.ts b/quartz/components/scripts/graph.inline.ts
index 1b2d322..cda6fb5 100644
--- a/quartz/components/scripts/graph.inline.ts
+++ b/quartz/components/scripts/graph.inline.ts
@@ -102,7 +102,7 @@
const graphData: { nodes: NodeData[]; links: LinkData[] } = {
nodes: [...neighbourhood].map((url) => {
- const text = url.startsWith("tags/") ? "#" + url.substring(5) : data.get(url)?.title ?? url
+ const text = url.startsWith("tags/") ? "#" + url.substring(5) : (data.get(url)?.title ?? url)
return {
id: url,
text: text,
--
Gitblit v1.10.0