fix(web): swap password visibility toggle eye icons

This commit is contained in:
yun-zhi-ztl 2026-03-19 14:01:23 +08:00 committed by Xudong Sun
parent 4365a9363c
commit cd570ed208

View file

@ -147,7 +147,7 @@ export function LoginPage() {
onClick={() => setShowPassword((current) => !current)}
className="absolute inset-y-0 right-0 flex w-12 items-center justify-center text-muted-foreground transition-colors hover:text-foreground"
>
{showPassword ? <Eye className="h-4 w-4" /> : <EyeOff className="h-4 w-4" />}
{showPassword ? <EyeOff className="h-4 w-4" /> : <Eye className="h-4 w-4" />}
</button>
</div>
{fieldErrors.password ? (