From 1b0042d8cf7ad2ebfd8d8c36d95a19244105bb64 Mon Sep 17 00:00:00 2001
From: Liliana Sanfilippo <lsanfilippo@techfak.uni-bielefeld.de>
Date: Tue, 3 Dec 2024 22:59:30 +0100
Subject: [PATCH] link

---
 src/utils/useNavigation.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/utils/useNavigation.ts b/src/utils/useNavigation.ts
index 4e8db67..70b203e 100644
--- a/src/utils/useNavigation.ts
+++ b/src/utils/useNavigation.ts
@@ -104,7 +104,7 @@ export const useNavigation = () => {
             console.log("Found scrollToId: " + scrollToId)
             paramsAdded = true;
             // Wenn bereits Parameter existieren, fügen wir & hinzu, ansonsten ?
-            const separator = paramsAdded ? '?' : '&';
+            const separator = paramsAdded ? '&' : '?';
             url += `${separator}scrollTo=${scrollToId}`;
         }
         console.log("Final URL:", url);
-- 
GitLab