signin dispatch test
This commit is contained in:
parent
8ba2bc5c3b
commit
3b433d9e16
|
@ -69,7 +69,7 @@ export class SignIn extends React.Component<Props, State> {
|
|||
<a style={{fontSize:10}} onClick={this.forgotPopupOpen}>Forgot Password</a>
|
||||
</div>
|
||||
<Form.Group>
|
||||
<Button fluid primary style={{margin:'7'}} onClick={ this.signInClick }> Sign In </Button>
|
||||
<Button fluid primary style={{margin:'7'}} onClick={ this.signInClick.bind(this) }> Sign In </Button>
|
||||
<Button fluid style={{margin:'7'}} href='/#/test2'> Sign Up </Button>
|
||||
</Form.Group>
|
||||
</Form>
|
||||
|
@ -123,7 +123,7 @@ export class SignIn extends React.Component<Props, State> {
|
|||
sendComPopup: true,
|
||||
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
private signInClick(event: React.SyntheticEvent<HTMLButtonElement>, data: ButtonProps):void {
|
||||
this.props.onSignIn(this.state.email, this.state.pass);
|
||||
|
|
Loading…
Reference in New Issue
Block a user