Skip to content
Snippets Groups Projects
Commit f280b58b authored by Lucas Eduardo Schoenfelder's avatar Lucas Eduardo Schoenfelder
Browse files

removed unnecessary lines

parent 5f0e0a64
No related branches found
No related tags found
4 merge requests!57Merge of develop into master,!56Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...,!39Update admin system,!32Homologa
...@@ -19,7 +19,6 @@ along with Plataforma Integrada MEC. If not, see <http://www.gnu.org/licenses/> ...@@ -19,7 +19,6 @@ along with Plataforma Integrada MEC. If not, see <http://www.gnu.org/licenses/>
import React, { useContext, useEffect } from 'react'; import React, { useContext, useEffect } from 'react';
import Home from './Pages/Home'; import Home from './Pages/Home';
import Search from './Pages/Search' import Search from './Pages/Search'
import SearchOld from './Pages/SearchOld'
import Header from './Components/Header' import Header from './Components/Header'
import EcFooter from './Components/EcFooter'; import EcFooter from './Components/EcFooter';
import GNUAGPLfooter from './Components/AGPLFooter'; import GNUAGPLfooter from './Components/AGPLFooter';
...@@ -88,7 +87,6 @@ export default function App(){ ...@@ -88,7 +87,6 @@ export default function App(){
<Switch> <Switch>
<Route path="/" exact={true} component={Home}/> <Route path="/" exact={true} component={Home}/>
<Route path="/busca" component={Search} /> <Route path="/busca" component={Search} />
<Route path="/buscaAntiga" component={SearchOld} />
<Route path="/perfil" component={UserPage} /> <Route path="/perfil" component={UserPage} />
<Route path="/editarperfil" component={EditProfilePage} /> <Route path="/editarperfil" component={EditProfilePage} />
<Route path="/recurso/:recursoId" component={ResourcePage}/> <Route path="/recurso/:recursoId" component={ResourcePage}/>
......
...@@ -88,19 +88,6 @@ export default function ReportModal (props) { ...@@ -88,19 +88,6 @@ export default function ReportModal (props) {
} }
} }
const renderForm = (formType) => {
switch (formType) {
case 'colecao':
return (
<ReportCollectionForm
handleClose={props.handleClose}
handleSubmit={handleSubmit}
/>
);
break;
}
}
return ( return (
<StyledModal <StyledModal
aria-labelledby="transition-modal-title" aria-labelledby="transition-modal-title"
...@@ -197,4 +184,3 @@ const ReportContainer = styled.div` ...@@ -197,4 +184,3 @@ const ReportContainer = styled.div`
height : 100%; height : 100%;
} }
` `
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment