Skip to content

Commit

Permalink
Fix capitalization on user reset button (#50608)
Browse files Browse the repository at this point in the history
URL is an acronym and should be capitalized.
  • Loading branch information
zmb3 authored Dec 30, 2024
1 parent 1ac11bd commit e465b2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions web/packages/teleport/src/Users/UserReset/UserReset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function UserReset({
</DialogHeader>
<DialogContent>
{attempt.status === 'failed' && (
<Alert kind="danger" children={attempt.statusText} />
<Alert kind="danger">{attempt.statusText}</Alert>
)}
<Text mb={4} mt={1}>
You are about to reset authentication for user
Expand All @@ -75,7 +75,7 @@ export function UserReset({
disabled={attempt.status === 'processing'}
onClick={onReset}
>
Generate reset url
Generate Reset URL
</ButtonPrimary>
<ButtonSecondary onClick={onClose}>Cancel</ButtonSecondary>
</DialogFooter>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ exports[`failed state 1`] = `
class="c13"
kind="primary"
>
Generate reset url
Generate Reset URL
</button>
<button
class="c14"
Expand Down Expand Up @@ -508,7 +508,7 @@ exports[`processing state 1`] = `
disabled=""
kind="primary"
>
Generate reset url
Generate Reset URL
</button>
<button
class="c13"
Expand Down

0 comments on commit e465b2a

Please sign in to comment.