Skip to content

Commit

Permalink
Make code generation button more descriptive of the action
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwoodnz committed Aug 28, 2024
1 parent 985f7a5 commit 2e48052
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion settings/src/components/backup-codes.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ function Manage( { setGenerating } ) {
</div>

<Button isSecondary onClick={ () => setGenerating( true ) }>
{ backupCodesEnabled ? 'Regenerate backup codes' : 'Generate backup codes' }
{ backupCodesEnabled
? 'Regenerate and save backup codes'
: 'Generate and save backup codes' }
</Button>
</>
);
Expand Down

0 comments on commit 2e48052

Please sign in to comment.