fix: put domain back

This commit is contained in:
Alejandro Gomez 2023-01-25 22:19:50 +01:00
parent 3342f3bf79
commit 8d523a9e6d
No known key found for this signature in database
GPG Key ID: 4DF39E566658C817

View File

@ -58,11 +58,14 @@ const Nip05 = (props: Nip05Params) => {
return (
<div className={`flex nip05${couldNotVerify ? " failed" : ""}`} onClick={(ev) => ev.stopPropagation()}>
<div className="nick">
{isDefaultUser ? (
`${domain}`
) : `@${name}`}
</div>
{!isDefaultUser && (
<div className="nick">
`@${name}`}
</div>
)}
<span className="domain">
{domain}
</span>
<span className="badge">
{isVerified && (
<FontAwesomeIcon