Skip to content

Commit

Permalink
feat: change default route to / from /login
Browse files Browse the repository at this point in the history
  • Loading branch information
Prajwalism committed Jul 2, 2024
1 parent 4af7417 commit 7f2c307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/routes/ProtectedRoute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface IProtectedRoute {
}
export default function ProtectedRoute({
isAuthenticated,
redirectPath = '/login',
redirectPath = '/',
children,
}: IProtectedRoute): ReactElement {
if (!isAuthenticated) {
Expand Down

0 comments on commit 7f2c307

Please sign in to comment.