diff --git a/src/components/nostr/kinds/Kind39701Renderer.tsx b/src/components/nostr/kinds/Kind39701Renderer.tsx index ffa4163..8517372 100644 --- a/src/components/nostr/kinds/Kind39701Renderer.tsx +++ b/src/components/nostr/kinds/Kind39701Renderer.tsx @@ -12,13 +12,16 @@ export function Kind39701Renderer({ event }: BaseEventProps) { // URL comes from d tag (identifier) or optional u tag const dTag = event.tags.find((t) => t[0] === "d")?.[1]; const uTag = event.tags.find((t) => t[0] === "u")?.[1]; - const url = uTag || dTag; + // If only d tag provided, assume https:// prefix + const url = uTag || (dTag ? `https://${dTag}` : undefined); return (
{/* Title */} - {title &&

{title}

} + {title && ( +

{title}

+ )} {/* URL with external link icon */} {url && (