chore: Update translations

This commit is contained in:
2024-05-13 15:32:10 +00:00
parent b988a73e36
commit daa687957e
2 changed files with 2 additions and 4 deletions

View File

@ -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)}`;