Skip to content

Commit 766807f

Browse files
committed
Enhance password visibility toggle in LoginRegistrationScreen
1 parent f71e96e commit 766807f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

client/src/screens/LoginRegistrationScreen.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,11 @@ const LoginRegistrationScreen: FC = (): ReactElement => {
246246
variant="secondary"
247247
onClick={() => setShowPassword(!showPassword)}
248248
>
249-
<i className="bi bi-eye"></i>
249+
{showPassword ? (
250+
<i className="bi bi-eye-slash"></i>
251+
) : (
252+
<i className="bi bi-eye"></i>
253+
)}
250254
</Button>
251255
</ButtonGroup>
252256
</Col>

0 commit comments

Comments
 (0)