diff --git a/src/shared/components/VisibilityPasswordTextField.js b/src/shared/components/VisibilityPasswordTextField.js index 9c95f4c09..325c6d0ce 100644 --- a/src/shared/components/VisibilityPasswordTextField.js +++ b/src/shared/components/VisibilityPasswordTextField.js @@ -17,14 +17,14 @@ function VisibilityPasswordTextField(props) { onClick={() => { onVisibilityChange(!isVisible); }} - onMouseDown={event => { + onMouseDown={(event) => { event.preventDefault(); }} > - {isVisible ? : } + {isVisible ? : } - ) + ), }} > );