skipped password eye button

This commit is contained in:
Zai Shi 2024-07-01 18:19:21 -07:00
parent 530722836c
commit 554b60551d

View File

@ -26,6 +26,7 @@ const PasswordInput = forwardRef<HTMLInputElement, InputProps>(
onClick={() => setShowPassword((prev) => !prev)}
disabled={props.disabled}
aria-label={showPassword ? "Hide password" : "Show password"}
tabIndex={-1}
>
{showPassword ? (
<EyeIcon