diff --git a/components/Destinatario.js b/components/Destinatario.js index b1ca59c..edfd687 100644 --- a/components/Destinatario.js +++ b/components/Destinatario.js @@ -5,8 +5,8 @@ function Destinatario(props) { //const [personType, setPersonType] = useState("student"); //const [fullname, setFullname] = useState(""); //const [instagram, setInstagram] = useState(""); - const [group, setGroup] = useState(""); - const [degree, setDegree] = useState("telecomunications"); + //const [group, setGroup] = useState(""); + //const [degree, setDegree] = useState("telecomunications"); //const [findHint, setFindHint] = useState(""); return ( @@ -19,7 +19,7 @@ function Destinatario(props) { name="person-type" id="type" className="selector" - onChange={e => props.setPersonType(e.target.value)} + onChange={e => props.personType = e.target.value} value={props.personType} >