mirror of
https://github.com/franjsco/tick3t
synced 2025-06-05 22:19:18 +02:00
improvement: check input
This commit is contained in:
@@ -44,8 +44,9 @@ class Login extends Component {
|
|||||||
|
|
||||||
const { email, password } = this.state;
|
const { email, password } = this.state;
|
||||||
|
|
||||||
|
if (email && password) {
|
||||||
this.props.login(email, password);
|
this.props.login(email, password);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resetLogin(event) {
|
resetLogin(event) {
|
||||||
|
Reference in New Issue
Block a user