Skip to content

Commit

Permalink
fix redirecting test path
Browse files Browse the repository at this point in the history
Signed-off-by: iifawzi <[email protected]>
  • Loading branch information
iifawzi committed Dec 23, 2022
1 parent a558812 commit 10a2b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/protection/protectedRoute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const ProtectedRoute: React.FC<{ children: JSX.Element }> = ({ children }
}, [loading]);

return (
!loading ? state.isAuth ? children : <Navigate to="/bitch" /> : <></>
!loading ? state.isAuth ? children : <Navigate to="/auth/" /> : <></>
)
};

Expand Down

0 comments on commit 10a2b2c

Please sign in to comment.