From e493d3a13464373010fb9e080147e69ee40d3f99 Mon Sep 17 00:00:00 2001 From: Syed Date: Thu, 30 Jul 2026 23:05:01 +0530 Subject: [PATCH] Fixed: Prevented authenticated users from re-accessing /auth route --- frontend/src/App.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 1e43bb5..fef7906 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -59,7 +59,9 @@ function AppRoutes() { isAuthenticated ? : } /> - } /> + : } + /> } /> } /> {/* Public routes with layout */}