Skip to content

Commit

Permalink
Merge pull request #30 from fga-eps-mds/padronizar-rotas
Browse files Browse the repository at this point in the history
Padronizando Rotas
  • Loading branch information
ericoBandeira authored Oct 20, 2021
2 parents 16f9649 + 6398fc8 commit 00ccaa3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 46 deletions.
44 changes: 0 additions & 44 deletions src/Pages/AdminScreen/index.js

This file was deleted.

Empty file removed src/Pages/AdminScreen/styles.js
Empty file.
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 00ccaa3

Please sign in to comment.