From 1aa2f541dc28ca1d98f1ee0ddfcb163dda51699c Mon Sep 17 00:00:00 2001 From: Adrian Rumpold Date: Wed, 30 Apr 2025 12:17:43 +0200 Subject: [PATCH] Keep history --- frontend/src/hooks/urlSync.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/hooks/urlSync.ts b/frontend/src/hooks/urlSync.ts index 1796081..184ee3a 100644 --- a/frontend/src/hooks/urlSync.ts +++ b/frontend/src/hooks/urlSync.ts @@ -37,6 +37,6 @@ export const useUrlSync = () => { if (articleId !== null) { targetUrl += `/articles/${articleId}`; } - navigate(targetUrl, { replace: true }); + navigate(targetUrl); }, [navigate, celexId, articleId]); // Only sync URL when Zustand changes };