Skip to content

Commit

Permalink
fix: eye in password input #74 #75
Browse files Browse the repository at this point in the history
  • Loading branch information
Barresi committed Feb 6, 2024
1 parent 8582df4 commit a7b9aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/ui/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const Input = React.forwardRef<HTMLInputElement, IInputProps>(
<img
className={`cursor-pointer absolute top-[35%] translate-y-[-50%] right-[20px] transition-all hover:scale-[1.1] active:scale-[0.9]`}
onClick={toggleType}
src={inputType === 'text' ? eye : eyeOff}
src={inputType === 'text' ? eyeOff : eye}
alt=''
/>
</div>
Expand Down

0 comments on commit a7b9aa1

Please sign in to comment.