mirror of
https://github.com/franjsco/tick3t
synced 2025-01-28 01:09:50 +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;
|
const { email, password } = this.state;
|
||||||
|
|
||||||
this.props.login(email, password);
|
if (email && password) {
|
||||||
|
this.props.login(email, password);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resetLogin(event) {
|
resetLogin(event) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user