1
0
mirror of https://github.com/franjsco/tick3t synced 2025-01-14 02:16:15 +01:00

improvement: check input

This commit is contained in:
Francesco Esposito 2019-08-03 16:48:03 +02:00
parent 729a3c4361
commit ece7439c71

View File

@ -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) {