mirror of
https://github.com/wassname/talk.git
synced 2026-09-12 13:01:11 +08:00
Adding styling in the main auth App
This commit is contained in:
@@ -44,11 +44,14 @@ class SignInContainer extends Component<
|
||||
}
|
||||
return undefined;
|
||||
};
|
||||
private goToForgotPassword = () => this.setView("FORGOT_PASSWORD");
|
||||
private goToSignUp = () => this.setView("SIGN_UP");
|
||||
public render() {
|
||||
return (
|
||||
<SignIn
|
||||
onSubmit={this.onSubmit}
|
||||
setView={this.setView}
|
||||
goToForgotPassword={this.goToForgotPassword}
|
||||
goToSignUp={this.goToSignUp}
|
||||
error={this.state.error}
|
||||
/>
|
||||
);
|
||||
|
||||
@@ -44,11 +44,12 @@ class SignUpContainer extends Component<
|
||||
}
|
||||
return undefined;
|
||||
};
|
||||
private goToSignIn = () => this.setView("SIGN_IN");
|
||||
public render() {
|
||||
return (
|
||||
<SignUp
|
||||
onSubmit={this.onSubmit}
|
||||
setView={this.setView}
|
||||
goToSignIn={this.goToSignIn}
|
||||
error={this.state.error}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user