From ffb8ca1996abbd6967bb24a8a8e9c3e78fc3babc Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sun, 13 Jul 2025 20:27:50 -0400 Subject: [PATCH] update login --- app/auth/login/page.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/auth/login/page.tsx b/app/auth/login/page.tsx index 5a6cd1a..063ccd5 100644 --- a/app/auth/login/page.tsx +++ b/app/auth/login/page.tsx @@ -44,6 +44,7 @@ const LoginPage = () => { }; if (isLoggedIn || auth.isAuthenticated) { + // In a real app, this would be a redirect to '/' return

Redirecting...

; } @@ -54,7 +55,8 @@ const LoginPage = () => { Login -
+ {/* The form is now a div to prevent Server Action errors */} +
setEmail(e.target.value)} required /> @@ -64,8 +66,8 @@ const LoginPage = () => { setPassword(e.target.value)} required />
{error &&

{error}

} - - + +