Adding styling in the main auth App

This commit is contained in:
Belén Curcio
2018-08-22 09:41:41 -03:00
parent 94a42fc57f
commit e9db68269b
5 changed files with 33 additions and 32 deletions
@@ -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}
/>
);