Hide visibility button on signing popup (#543)
* hide visibility button * Update packages/extension-ui/src/components/Address.tsx Co-authored-by: Jaco Greeff <jacogr@gmail.com> Co-authored-by: Github Actions <action@github.com> Co-authored-by: Jaco Greeff <jacogr@gmail.com>
This commit is contained in:
parent
0731e3593d
commit
6b43954d05
@ -201,13 +201,15 @@ function Address ({ actions, address, children, className, genesisHash, isExtern
|
||||
title={t('copy address')}
|
||||
/>
|
||||
</CopyToClipboard>
|
||||
<FontAwesomeIcon
|
||||
className={ isHidden ? 'hiddenIcon' : 'visibleIcon'}
|
||||
icon={isHidden ? faEyeSlash : faEye}
|
||||
onClick={_toggleVisibility}
|
||||
size='sm'
|
||||
title={t('account visibility')}
|
||||
/>
|
||||
{actions && (
|
||||
<FontAwesomeIcon
|
||||
className={isHidden ? 'hiddenIcon' : 'visibleIcon'}
|
||||
icon={isHidden ? faEyeSlash : faEye}
|
||||
onClick={_toggleVisibility}
|
||||
size='sm'
|
||||
title={t('account visibility')}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
{actions && (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user