Skip to content

Commit

Permalink
Enhance password visibility toggle in LoginRegistrationScreen
Browse files Browse the repository at this point in the history
  • Loading branch information
kgdn committed Dec 17, 2024
1 parent f71e96e commit 766807f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client/src/screens/LoginRegistrationScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,11 @@ const LoginRegistrationScreen: FC = (): ReactElement => {
variant="secondary"
onClick={() => setShowPassword(!showPassword)}
>
<i className="bi bi-eye"></i>
{showPassword ? (
<i className="bi bi-eye-slash"></i>
) : (
<i className="bi bi-eye"></i>
)}
</Button>
</ButtonGroup>
</Col>
Expand Down

0 comments on commit 766807f

Please sign in to comment.