mirror of
https://github.com/wassname/talk.git
synced 2026-07-13 17:45:56 +08:00
Ádding Debouncing for CheckAvailability, Valid Check form and Styling
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user