From 5a39719898fe486994750ec24fa430f332fa67eb Mon Sep 17 00:00:00 2001
From: Aaron Pham <contact@aarnphm.xyz>
Date: Thu, 06 Mar 2025 01:33:16 +0000
Subject: [PATCH] fix(graph): set container as renderGroup to avoid redrawing multiple times (#1736)

---
 quartz/util/path.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/quartz/util/path.ts b/quartz/util/path.ts
index 580707f..5835f15 100644
--- a/quartz/util/path.ts
+++ b/quartz/util/path.ts
@@ -188,7 +188,7 @@
   }
 
   let joined = args
-    .filter((segment) => segment !== "")
+    .filter((segment) => segment !== "" && segment !== "/")
     .map((segment) => stripSlashes(segment))
     .join("/")
 

--
Gitblit v1.10.0