Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dateChange(e) {
- let name = e.target.name
- console.log("cambiando");
- switch(name) {
- case 'password':
- this.setState({cedula: e.target.value})
- case 'email':
- this.setState({email: e.target.value})
- }persona
- {personas.map(persona =>
- if ({this.props.persona.email_person} == this.props.email) {
- this.setState({acceso:true})
- console.log({acceso});
- }
- )}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement