Ádding Debouncing for CheckAvailability, Valid Check form and Styling

This commit is contained in:
Belen Curcio
2016-11-16 20:57:42 -03:00
parent 60c17fc973
commit b116bef002
@@ -111,23 +111,19 @@ class SignInContainer extends Component {
this.displayErrors();
if (this.isCompleted() && !Object.keys(errors).length) {
this.props.fetchSignUp(this.state.formData);
this.cleanState();
}
}
handleSignIn(e) {
e.preventDefault();
this.props.fetchSignIn(this.state.formData);
this.cleanState();
}
handleClose() {
this.props.hideSignInDialog();
this.cleanState();
}
changeView(view) {
this.cleanState();
this.props.changeView(view);
}