mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-04-10 21:00:17 +02:00
hide "_@" part of nip-05 identifiers
This commit is contained in:
parent
fb1f242b7c
commit
e831a1493b
@ -30,7 +30,7 @@ export const UserDnsIdentityIcon = ({ pubkey, onlyIcon }: { pubkey: string; only
|
||||
}
|
||||
return (
|
||||
<Text as="span" whiteSpace="nowrap">
|
||||
{metadata.nip05} {renderIcon()}
|
||||
{metadata.nip05.startsWith("_@")?metadata.nip05.substr(2):metadata.nip05} {renderIcon()}
|
||||
</Text>
|
||||
);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user