mirror of
https://github.com/franjsco/tick3t
synced 2025-01-14 02:16:15 +01:00
improvement: check input
This commit is contained in:
parent
729a3c4361
commit
ece7439c71
@ -44,8 +44,9 @@ class Login extends Component {
|
||||
|
||||
const { email, password } = this.state;
|
||||
|
||||
this.props.login(email, password);
|
||||
|
||||
if (email && password) {
|
||||
this.props.login(email, password);
|
||||
}
|
||||
}
|
||||
|
||||
resetLogin(event) {
|
||||
|
Loading…
Reference in New Issue
Block a user