mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-03-02 20:47:42 +00:00
fix(api-settings): add aria-label for token visibility toggle button
This commit is contained in:
@@ -75,6 +75,7 @@ export default function GithubCredentialsSection({
|
||||
<button
|
||||
type="button"
|
||||
onClick={onToggleNewTokenVisibility}
|
||||
aria-label={showNewTokenPlainText ? 'Hide token' : 'Show token'}
|
||||
className="absolute right-3 top-2.5 text-muted-foreground hover:text-foreground"
|
||||
>
|
||||
{showNewTokenPlainText ? <EyeOff className="h-4 w-4" /> : <Eye className="h-4 w-4" />}
|
||||
|
||||
Reference in New Issue
Block a user