From ada94f6b382fec1f9478e06f66a187e52e94419b Mon Sep 17 00:00:00 2001 From: pradeepkumar Date: Sun, 29 Mar 2026 12:06:05 +0530 Subject: [PATCH] fix: redirect logout to home page instead of login page --- src/app/logout/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/logout/page.tsx b/src/app/logout/page.tsx index 3e6a44e..9e090cb 100644 --- a/src/app/logout/page.tsx +++ b/src/app/logout/page.tsx @@ -47,11 +47,11 @@ export default function LogoutPage() { localStorage.removeItem('isLoggingOut'); // Redirect to login immediately - window.location.href = '/login'; + window.location.href = '/'; }; performLogout().catch(() => { - window.location.href = '/login'; + window.location.href = '/'; }); }, []);