Skip to content

Commit

Permalink
fix(modal): correct labels on password confirmation buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
brusherru committed Jul 15, 2024
1 parent b62e272 commit 5a9248e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/CreateAccountModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function CreateAccountModal({
extractSpawnArgs(data),
password
),
'Creating a new Account',
'Create a new Account',
// eslint-disable-next-line max-len
`Please enter the password to create the new account "${
data.displayName
Expand Down
2 changes: 1 addition & 1 deletion src/components/CreateKeyPairModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function CreateKeyPairModal({
const submit = handleSubmit(async ({ displayName, path }) => {
const success = await withPassword(
(password) => createKeyPair(displayName, path, password),
'Creating a new Key Pair',
'Create a new Key Pair',
// eslint-disable-next-line max-len
`Please enter the password to create the new key pair "${displayName}" with path "${path}"`
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/ImportAccountModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function ImportAccountModal({
accountData.spawnArguments,
password
),
'Creating a new Account',
'Import Account',
// eslint-disable-next-line max-len
`Please enter the password to create the new account "${displayName}" of type "${getTemplateNameByKey(
accountData.templateAddress
Expand Down

0 comments on commit 5a9248e

Please sign in to comment.