Skip to content

Commit

Permalink
🎨 improving router for homepage fga-eps-mds/2021.1-Oraculo-Profile#113
Browse files Browse the repository at this point in the history
Co-authored-by: Gabriel Santos Silva Araújos <[email protected]>
  • Loading branch information
jpaulohe4rt and GabrielSSAraujo committed Oct 20, 2021
1 parent 6513759 commit 6398fc8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Routes.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from "react";
import { BrowserRouter, Redirect, Route, Switch } from "react-router-dom";
import { isAuthenticated } from "./Auth/Auth";
// import from "./Pages/AdminScreen/";
import CreateProcess from "./Pages/CreateProcess";
import LoginScreen from "./Pages/LoginScreen";
import ViewProfile from "./Pages/ViewProfile";
Expand Down Expand Up @@ -31,7 +30,7 @@ const Routes = () => (
<Switch>
<Route exact path="/login" component={() => <LoginScreen history={history} />} />
<Route exact path="/ver-registro" component={() => <ViewRecord />} />
<PrivateRoutes path="/administrador" component={() => <AdminScreen />} />
<PrivateRoutes path="/tela-inicial" component={() => <HomePage />} />
<PrivateRoutes path="/criar-registro" component={() => <CreateProcess />} />
<PrivateRoutes path="/criar-usuario" component={() => <CreateUser />} />
<PrivateRoutes path="/usuario" component={() => <ViewProfile />} />
Expand Down

0 comments on commit 6398fc8

Please sign in to comment.