Skip to content

Commit a65243c

Browse files
authored
Update PasswordField.tsx
1 parent 7138d6f commit a65243c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Fields/PasswordField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const PasswordField: React.FC<PasswordFieldProps> = ({
4949
<InputAdornment position="end">
5050
<IconButton aria-label="toggle password" onClick={tooglePassword}>
5151
{React.createElement(
52-
showPassword ? ShownPasswordIcon : HiddenPasswordIcon,
52+
!showPassword ? ShownPasswordIcon : HiddenPasswordIcon,
5353
{
5454
color: password.error ? "error" : "action",
5555
}

0 commit comments

Comments
 (0)