From 07ff8c2a12a77c329213f08bb61d31108dea303a Mon Sep 17 00:00:00 2001 From: enzo Date: Wed, 22 Jul 2026 19:17:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20nested=20route=20navigation=20=E2=80=94?= =?UTF-8?q?=20use=20relative=20paths,=20redirect=20to=20/=20not=20/dashboa?= =?UTF-8?q?rd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index b861a6c..1d74e2e 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -43,7 +43,7 @@ function RedirectIfAuth({ children }: { children: ReactNode }) { const { isAuthenticated } = useAuth() if (isAuthenticated) { - return + return } return <>{children} } @@ -143,7 +143,7 @@ function AppRoutes() { }> - } /> + } /> } /> } /> } />