From 6b6ea03b9cd609543359c8d06e2269c423c4e85a Mon Sep 17 00:00:00 2001 From: gourav Date: Mon, 11 Aug 2025 16:13:17 +0530 Subject: [PATCH] fix: group-charter-redirect --- .../src/components/auth/login-screen.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/platforms/group-charter-manager/src/components/auth/login-screen.tsx b/platforms/group-charter-manager/src/components/auth/login-screen.tsx index 89a91f2d..9567b47b 100644 --- a/platforms/group-charter-manager/src/components/auth/login-screen.tsx +++ b/platforms/group-charter-manager/src/components/auth/login-screen.tsx @@ -62,7 +62,10 @@ export default function LoginScreen() { setIsAuthenticating(true); // Force a page refresh to trigger AuthProvider re-initialization - window.location.reload(); + // window.location.reload(); + + // Redirect the user after successful login + router.push("/charter"); }; eventSource.onerror = (error) => {