Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
TharindaPrabhath committed Oct 3, 2021
1 parent aa021d8 commit bd24730
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/ProtectedRoute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const ProtectedRoute: React.FC<ProtectedRouteProps> = ({ ...rest }) => {

if (isAdminLoggedIn() && rest.path !== "/signin") return <Route {...rest} />;
return <Redirect to="/signin" />;
//return <Route {...rest} />;
};

export default ProtectedRoute;

0 comments on commit bd24730

Please sign in to comment.