fix: login form submit when changing password visibility
This commit is contained in:
parent
5202e1348a
commit
a93f44d054
1 changed files with 2 additions and 1 deletions
|
|
@ -74,7 +74,8 @@ export default function InputComponent({
|
||||||
? "input-component-true-button"
|
? "input-component-true-button"
|
||||||
: "input-component-false-button"
|
: "input-component-false-button"
|
||||||
)}
|
)}
|
||||||
onClick={() => {
|
onClick={(event) => {
|
||||||
|
event.preventDefault();
|
||||||
setPwdVisible(!pwdVisible);
|
setPwdVisible(!pwdVisible);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue