From f3e07fd51ce591af133ee2046877f769a1fe490f Mon Sep 17 00:00:00 2001
From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 06 Aug 2024 01:38:07 +0000
Subject: [PATCH] chore(deps-dev): bump prettier from 3.3.2 to 3.3.3 (#1293)

---
 package-lock.json                         |    8 ++++----
 package.json                              |    2 +-
 quartz/components/scripts/graph.inline.ts |    2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 017ee14..16b7672 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -80,7 +80,7 @@
         "@types/ws": "^8.5.12",
         "@types/yargs": "^17.0.32",
         "esbuild": "^0.19.9",
-        "prettier": "^3.3.2",
+        "prettier": "^3.3.3",
         "tsx": "^4.16.2",
         "typescript": "^5.5.3"
       },
@@ -4702,9 +4702,9 @@
       }
     },
     "node_modules/prettier": {
-      "version": "3.3.2",
-      "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.2.tgz",
-      "integrity": "sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==",
+      "version": "3.3.3",
+      "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz",
+      "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==",
       "dev": true,
       "bin": {
         "prettier": "bin/prettier.cjs"
diff --git a/package.json b/package.json
index c32ac04..54f9401 100644
--- a/package.json
+++ b/package.json
@@ -103,7 +103,7 @@
     "@types/ws": "^8.5.12",
     "@types/yargs": "^17.0.32",
     "esbuild": "^0.19.9",
-    "prettier": "^3.3.2",
+    "prettier": "^3.3.3",
     "tsx": "^4.16.2",
     "typescript": "^5.5.3"
   }
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