From 5a9248e59164ad615a4a23146c570d6714f10e63 Mon Sep 17 00:00:00 2001 From: brusher_ru Date: Mon, 15 Jul 2024 14:04:22 +0300 Subject: [PATCH] fix(modal): correct labels on password confirmation buttons --- src/components/CreateAccountModal.tsx | 2 +- src/components/CreateKeyPairModal.tsx | 2 +- src/components/ImportAccountModal.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/CreateAccountModal.tsx b/src/components/CreateAccountModal.tsx index 4dfd412..7431b2a 100644 --- a/src/components/CreateAccountModal.tsx +++ b/src/components/CreateAccountModal.tsx @@ -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 diff --git a/src/components/CreateKeyPairModal.tsx b/src/components/CreateKeyPairModal.tsx index 398628b..7be08ca 100644 --- a/src/components/CreateKeyPairModal.tsx +++ b/src/components/CreateKeyPairModal.tsx @@ -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}"` ); diff --git a/src/components/ImportAccountModal.tsx b/src/components/ImportAccountModal.tsx index 81d8426..47c22f3 100644 --- a/src/components/ImportAccountModal.tsx +++ b/src/components/ImportAccountModal.tsx @@ -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