From 8454fb58297606c747f2da696b1d3222d5d97735 Mon Sep 17 00:00:00 2001 From: estifanos Date: Thu, 20 Aug 2026 11:21:46 +0000 Subject: [PATCH] fixes --- libs/auth/src/lib/pages/LoginPage.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libs/auth/src/lib/pages/LoginPage.tsx b/libs/auth/src/lib/pages/LoginPage.tsx index 5c934cd39..a74939334 100644 --- a/libs/auth/src/lib/pages/LoginPage.tsx +++ b/libs/auth/src/lib/pages/LoginPage.tsx @@ -54,11 +54,7 @@ export function LoginPage() { const [profileTrigger] = useApiMutation<{ profile: CurrentProfile | null }>(); const handleBack = () => { - if (window.history.length > 1) { - navigate(-1); - } else { - navigate("/"); - } + navigate("/"); }; // Built inside the component (not module scope) so validation messages