Docs/update add and remove signer labels (#1844)
* docs: update labels for add signer tool * docs: fix remove signer labels * chore: consistent capitalisation * style: formating Co-authored-by: Dexter <dexter.edwards93@gmail.com>
This commit is contained in:
parent
786b85fde2
commit
e2d4a6d0eb
@ -76,7 +76,9 @@ export const AddSignerForm = () => {
|
||||
<FormGroup
|
||||
label={t('Add signer')}
|
||||
labelFor="add-signer-input"
|
||||
labelDescription={t('Public key of the signer to add')}
|
||||
labelDescription={t(
|
||||
'Node ID of the signer to add to the multisig control'
|
||||
)}
|
||||
className="max-w-xl"
|
||||
>
|
||||
<div className="grid grid-cols-[1fr,auto] gap-2">
|
||||
@ -97,7 +99,7 @@ export const AddSignerForm = () => {
|
||||
{error && (
|
||||
<InputError intent="danger">
|
||||
{error?.message.includes('InvalidArgument')
|
||||
? t('Invalid node id')
|
||||
? t('Invalid node ID')
|
||||
: error?.message}
|
||||
</InputError>
|
||||
)}
|
||||
|
@ -76,7 +76,9 @@ export const RemoveSignerForm = () => {
|
||||
<FormGroup
|
||||
label={t('Remove signer')}
|
||||
labelFor="remove-signer-input"
|
||||
labelDescription={t('Public key of the signer to remove')}
|
||||
labelDescription={t(
|
||||
'Node ID of the signer to remove from the multisig control'
|
||||
)}
|
||||
className="max-w-xl"
|
||||
>
|
||||
<div className="grid grid-cols-[1fr,auto] gap-2">
|
||||
@ -97,15 +99,13 @@ export const RemoveSignerForm = () => {
|
||||
{error && (
|
||||
<InputError intent="danger">
|
||||
{error?.message.includes('InvalidArgument')
|
||||
? t('Invalid node id')
|
||||
? t('Invalid node ID')
|
||||
: error?.message}
|
||||
</InputError>
|
||||
)}
|
||||
{bundleNotFound && !error && (
|
||||
<InputError intent="danger">
|
||||
{t(
|
||||
'Bundle was not found, are you sure this validator needs to be removed?'
|
||||
)}
|
||||
{t('Bundle was not found, confirm the node ID is correct')}
|
||||
</InputError>
|
||||
)}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user