Web: Login: fix

This commit is contained in:
Viktor Fomin 2022-03-14 17:13:22 +03:00
parent 5ea216e0c9
commit 55ef22b5f5

View File

@ -132,9 +132,7 @@ const Form = (props) => {
const onClearErrors = (e) => {
//console.log("onClearErrors", e);
!identifierValid && setIdentifierValid(true);
!passwordValid && setPasswordValid(true);
errorText && setErrorText("");
};
//const throttledKeyPress = throttle(onKeyPress, 500);
@ -185,7 +183,6 @@ const Form = (props) => {
//console.log("onChangeLogin", e.target.value);
setIdentifier(e.target.value);
setIsEmailErrorShow(false);
onClearErrors(e);
};
const onChangePassword = (e) => {