diff --git a/src/frontend/src/routes/ProtectedRoute.tsx b/src/frontend/src/routes/ProtectedRoute.tsx index 8ea784af..6a0d3f53 100644 --- a/src/frontend/src/routes/ProtectedRoute.tsx +++ b/src/frontend/src/routes/ProtectedRoute.tsx @@ -8,7 +8,7 @@ interface IProtectedRoute { } export default function ProtectedRoute({ isAuthenticated, - redirectPath = '/login', + redirectPath = '/', children, }: IProtectedRoute): ReactElement { if (!isAuthenticated) {