|
|
@ -253,7 +253,6 @@ class LoginRegisterComponent extends Component {
|
|
|
|
}).then((result) => {
|
|
|
|
}).then((result) => {
|
|
|
|
console.log(result);
|
|
|
|
console.log(result);
|
|
|
|
if(result){
|
|
|
|
if(result){
|
|
|
|
try {
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
logins: "",
|
|
|
|
logins: "",
|
|
|
|
dragOk: false,
|
|
|
|
dragOk: false,
|
|
|
@ -261,12 +260,8 @@ class LoginRegisterComponent extends Component {
|
|
|
|
passwords: "",
|
|
|
|
passwords: "",
|
|
|
|
Agreetotheterms: "",
|
|
|
|
Agreetotheterms: "",
|
|
|
|
})
|
|
|
|
})
|
|
|
|
} catch (e) {
|
|
|
|
this.props.history.push("/interesse");
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}).catch((error) => {
|
|
|
|
}).catch((error) => {
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|