Skip to content

Commit

Permalink
Merge pull request dunky11#187 from dunky11/development
Browse files Browse the repository at this point in the history
Fixed order of password visibility icons
  • Loading branch information
dunky11 authored Jun 14, 2020
2 parents c703008 + 5c56af0 commit 3299d3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/shared/components/VisibilityPasswordTextField.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ function VisibilityPasswordTextField(props) {
onClick={() => {
onVisibilityChange(!isVisible);
}}
onMouseDown={event => {
onMouseDown={(event) => {
event.preventDefault();
}}
>
{isVisible ? <VisibilityOffIcon /> : <VisibilityIcon />}
{isVisible ? <VisibilityIcon /> : <VisibilityOffIcon />}
</IconButton>
</InputAdornment>
)
),
}}
></TextField>
);
Expand Down

0 comments on commit 3299d3b

Please sign in to comment.