From 22ce9ee13be12f5bde355307837811e0bec4be6a Mon Sep 17 00:00:00 2001 From: Ivan <8611739+IRBorisov@users.noreply.github.com> Date: Fri, 13 Dec 2024 13:18:06 +0300 Subject: [PATCH] M: Fix redirect to replace history --- rsconcept/frontend/src/pages/HomePage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rsconcept/frontend/src/pages/HomePage.tsx b/rsconcept/frontend/src/pages/HomePage.tsx index 7c380d74..9d4a3f84 100644 --- a/rsconcept/frontend/src/pages/HomePage.tsx +++ b/rsconcept/frontend/src/pages/HomePage.tsx @@ -14,11 +14,11 @@ function HomePage() { if (!loading) { if (!user) { setTimeout(() => { - router.push(urls.manuals); + router.replace(urls.manuals); }, PARAMETER.refreshTimeout); } else { setTimeout(() => { - router.push(urls.library); + router.replace(urls.library); }, PARAMETER.refreshTimeout); } }