From 39f1f577c84e4b1a8d1ba06c2b28bbb8083f40ee Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Thu, 28 Jan 2021 18:54:17 +0100 Subject: [PATCH] Adjust badge for dev accounts (#4520) * Adjust badge for dev accounts * lint --- .../page-accounts/src/Accounts/Account.tsx | 37 +++++++++++++------ 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/packages/page-accounts/src/Accounts/Account.tsx b/packages/page-accounts/src/Accounts/Account.tsx index ccf6d25e3c..d32b81167c 100644 --- a/packages/page-accounts/src/Accounts/Account.tsx +++ b/packages/page-accounts/src/Accounts/Account.tsx @@ -221,18 +221,27 @@ function Account ({ account: { address, meta }, className = '', delegation, filt {meta.genesisHash ? - : ( - -

{t('This account is available on all networks. Ensure you tie it to a specific network via the account options ("only this network" option) to limit availability on a single network.')}

-

{t('This is especially prudent in cases where the address is only destined to be used on a single network or linked to a specific device.')}

- - } - icon='exclamation-triangle' - /> - ) + : isDevelopment + ? ( + ('This is a development account derived from the known development seed. Do now use for any funds on a non-development network.')} + icon='wrench' + /> + ) + : ( + +

{t('This account is available on all networks. Ensure you tie it to a specific network via the account options ("only this network" option) to limit availability on a single network.')}

+

{t('This is especially prudent in cases where the address is only destined to be used on a single network or linked to a specific device.')}

+ + } + icon='exclamation-triangle' + /> + ) } {recoveryInfo && (