Keep history

This commit is contained in:
Adrian Rumpold
2025-04-30 12:17:43 +02:00
parent 2886989835
commit 1aa2f541dc

View File

@@ -37,6 +37,6 @@ export const useUrlSync = () => {
if (articleId !== null) { if (articleId !== null) {
targetUrl += `/articles/${articleId}`; targetUrl += `/articles/${articleId}`;
} }
navigate(targetUrl, { replace: true }); navigate(targetUrl);
}, [navigate, celexId, articleId]); // Only sync URL when Zustand changes }, [navigate, celexId, articleId]); // Only sync URL when Zustand changes
}; };