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
|
<FormGroup
|
||||||
label={t('Add signer')}
|
label={t('Add signer')}
|
||||||
labelFor="add-signer-input"
|
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"
|
className="max-w-xl"
|
||||||
>
|
>
|
||||||
<div className="grid grid-cols-[1fr,auto] gap-2">
|
<div className="grid grid-cols-[1fr,auto] gap-2">
|
||||||
@ -97,7 +99,7 @@ export const AddSignerForm = () => {
|
|||||||
{error && (
|
{error && (
|
||||||
<InputError intent="danger">
|
<InputError intent="danger">
|
||||||
{error?.message.includes('InvalidArgument')
|
{error?.message.includes('InvalidArgument')
|
||||||
? t('Invalid node id')
|
? t('Invalid node ID')
|
||||||
: error?.message}
|
: error?.message}
|
||||||
</InputError>
|
</InputError>
|
||||||
)}
|
)}
|
||||||
|
@ -76,7 +76,9 @@ export const RemoveSignerForm = () => {
|
|||||||
<FormGroup
|
<FormGroup
|
||||||
label={t('Remove signer')}
|
label={t('Remove signer')}
|
||||||
labelFor="remove-signer-input"
|
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"
|
className="max-w-xl"
|
||||||
>
|
>
|
||||||
<div className="grid grid-cols-[1fr,auto] gap-2">
|
<div className="grid grid-cols-[1fr,auto] gap-2">
|
||||||
@ -97,15 +99,13 @@ export const RemoveSignerForm = () => {
|
|||||||
{error && (
|
{error && (
|
||||||
<InputError intent="danger">
|
<InputError intent="danger">
|
||||||
{error?.message.includes('InvalidArgument')
|
{error?.message.includes('InvalidArgument')
|
||||||
? t('Invalid node id')
|
? t('Invalid node ID')
|
||||||
: error?.message}
|
: error?.message}
|
||||||
</InputError>
|
</InputError>
|
||||||
)}
|
)}
|
||||||
{bundleNotFound && !error && (
|
{bundleNotFound && !error && (
|
||||||
<InputError intent="danger">
|
<InputError intent="danger">
|
||||||
{t(
|
{t('Bundle was not found, confirm the node ID is correct')}
|
||||||
'Bundle was not found, are you sure this validator needs to be removed?'
|
|
||||||
)}
|
|
||||||
</InputError>
|
</InputError>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user