No click-through on not-known-good identities (#4130)

This commit is contained in:
Jaco Greeff 2020-12-01 15:33:05 +01:00 committed by GitHub
parent 04a27e1721
commit a074e656c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,7 +95,7 @@ function Identity ({ address, identity }: Props): React.ReactElement<Props> | nu
<div className='tr'>
<div className='th'>{t<string>('email')}</div>
<div className='td'>
{isHex(identity.email)
{isHex(identity.email) || !identity.isKnownGood
? identity.email
: (
<a
@ -113,7 +113,7 @@ function Identity ({ address, identity }: Props): React.ReactElement<Props> | nu
<div className='tr'>
<div className='th'>{t<string>('website')}</div>
<div className='td'>
{isHex(identity.web)
{isHex(identity.web) || !identity.isKnownGood
? identity.web
: (
<a
@ -131,7 +131,7 @@ function Identity ({ address, identity }: Props): React.ReactElement<Props> | nu
<div className='tr'>
<div className='th'>{t<string>('twitter')}</div>
<div className='td'>
{isHex(identity.twitter)
{isHex(identity.twitter) || !identity.isKnownGood
? identity.twitter
: (
<a