chore: Update translations
This commit is contained in:
parent
b988a73e36
commit
daa687957e
@ -197,9 +197,7 @@ function ProfileClip({ ev }: { ev: NostrEvent }) {
|
||||
id="dkUMIH"
|
||||
values={{
|
||||
name: (
|
||||
<Link
|
||||
to={profileLink(profile, ev.pubkey)}
|
||||
className="font-medium text-primary">
|
||||
<Link to={profileLink(profile, ev.pubkey)} className="font-medium text-primary">
|
||||
{getName(ev.pubkey, profile)}
|
||||
</Link>
|
||||
),
|
||||
|
@ -37,7 +37,7 @@ export function getHost(ev?: NostrEvent) {
|
||||
|
||||
export function profileLink(meta: CachedMetadata | undefined, pubkey: string) {
|
||||
if (meta && meta.nip05 && meta.nip05.endsWith("@zap.stream") && meta.isNostrAddressValid) {
|
||||
const [name,] = meta.nip05.split("@");
|
||||
const [name] = meta.nip05.split("@");
|
||||
return `/p/${name}`;
|
||||
}
|
||||
return `/p/${hexToBech32("npub", pubkey)}`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user