Skip to content

Commit

Permalink
Update PrivateRoute.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
tobySolutions authored Nov 27, 2024
1 parent 227c6b0 commit cd26cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/lib/PrivateRoute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const PrivateRoute = ({ children }: PrivateRouteProps) => {
const userToken = getDataInCookie("userToken");

if (!userToken) {
return <Navigate to="/login" replace />;
return <Navigate to="/signIn" replace />;
}

return children;
Expand Down

0 comments on commit cd26cfd

Please sign in to comment.