mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-20 13:01:07 +02:00
Merge pull request #3 from grantonthenet/patch-1
hide "_@" part of nip-05 identifiers
This commit is contained in:
@@ -30,7 +30,7 @@ export const UserDnsIdentityIcon = ({ pubkey, onlyIcon }: { pubkey: string; only
|
|||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<Text as="span" whiteSpace="nowrap">
|
<Text as="span" whiteSpace="nowrap">
|
||||||
{metadata.nip05} {renderIcon()}
|
{metadata.nip05.startsWith("_@")?metadata.nip05.substr(2):metadata.nip05} {renderIcon()}
|
||||||
</Text>
|
</Text>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user