fix: login form submit when changing password visibility

This commit is contained in:
igorrCarvalho 2023-08-16 16:25:09 -03:00
commit a93f44d054

View file

@ -74,7 +74,8 @@ export default function InputComponent({
? "input-component-true-button"
: "input-component-false-button"
)}
onClick={() => {
onClick={(event) => {
event.preventDefault();
setPwdVisible(!pwdVisible);
}}
>