Skip to content
Snippets Groups Projects
Commit e4e31749 authored by lfr20's avatar lfr20
Browse files

hot fixes

parent 68eff958
No related branches found
No related tags found
1 merge request!58Master
...@@ -203,13 +203,13 @@ export default function App() { ...@@ -203,13 +203,13 @@ export default function App() {
<Route path="/topico" component={FormationMaterialPage} /> <Route path="/topico" component={FormationMaterialPage} />
<Route path="/iframe-colecao" component={FormationMaterialIframe} /> <Route path="/iframe-colecao" component={FormationMaterialIframe} />
<Route path="/material-formacao" component={MaterialPage} /> <Route path="/material-formacao" component={MaterialPage} />
<Route path="*"> {/* <Route path="*">
<Home /> <Home />
</Route> </Route> */}
<div style={{ backgroundColor: " #D3D3D3" }}> <div style={{ backgroundColor: " #D3D3D3" }}>
<AppBarAdmin /> <AppBarAdmin />
<div style={{ padding: "2em" }}> <div style={{ padding: "2em" }}>
<Route path="/admin/home" exact={true} render={() => { <Route path="/admin/inicial" exact={true} render={() => {
if (CheckUserPermission()) if (CheckUserPermission())
return <Inframe /> return <Inframe />
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment