From 683b278d743d031c1e8448e41bfd3c0f38a8db8a Mon Sep 17 00:00:00 2001 From: Lucas Schoenfelder <les17@inf.ufpr.br> Date: Thu, 28 May 2020 11:06:13 -0300 Subject: [PATCH] console error fix --- src/Pages/PageProfessor.js | 37 +------------------------------------ 1 file changed, 1 insertion(+), 36 deletions(-) diff --git a/src/Pages/PageProfessor.js b/src/Pages/PageProfessor.js index bc23dd00..8a2783de 100644 --- a/src/Pages/PageProfessor.js +++ b/src/Pages/PageProfessor.js @@ -11,7 +11,7 @@ import axios from 'axios' import {apiUrl} from '../env'; export default function PageProfessor (props) { - const {state, dispatch} = useContext(Store) + const {state} = useContext(Store) const [modalOpen, toggleModal] = useState(false) const handleModal = () => { toggleModal(!modalOpen) ; @@ -167,38 +167,3 @@ export default function PageProfessor (props) { </> ) } - -const ContainerDiv = styled.div` - .card { - box-shadow : 0 0 5px 0 rgba(0,0,0,.25); - background-color :#fff; - text-align : start; - margin-left : auto; - margin-right : auto; - } - - .part-one { - max-width : 570px; - } - - .container { - padding-right : 15px; - padding-left : 15px; - } - - .content { - margin-top : 16px; - margin-bottom : 16px; - margin-right : 10%; - margin-left : 10%; - } - - h4 { - font-family : Roboto; - font-style : normal; - font-weight : 300; - line-height : 36px; - font-size : 26px; - margin-top : 20px; - } -` -- GitLab