mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-08-02 06:32:15 +02:00
add link to lnurlp endpoint
This commit is contained in:
@@ -40,6 +40,7 @@ import { UserAvatar } from "../../components/user-avatar";
|
||||
import { getUserDisplayName } from "../../helpers/user-metadata";
|
||||
import { useSharableProfileId } from "../../hooks/use-shareable-profile-id";
|
||||
import { parseAddress } from "../../services/dns-identity";
|
||||
import { getLudEndpoint } from "../../helpers/lnurl";
|
||||
|
||||
function buildDescriptionContent(description: string) {
|
||||
let content: EmbedableContent = [description.trim()];
|
||||
@@ -124,7 +125,9 @@ export default function UserAboutTab() {
|
||||
{metadata?.lud16 && (
|
||||
<Flex gap="2">
|
||||
<LightningIcon />
|
||||
<Text>{metadata.lud16}</Text>
|
||||
<Link href={getLudEndpoint(metadata.lud16)} isExternal>
|
||||
{metadata.lud16}
|
||||
</Link>
|
||||
</Flex>
|
||||
)}
|
||||
{parsedNip05 && (
|
||||
|
Reference in New Issue
Block a user