Remove redundant nostr address from details
All checks were successful
CI / Test and lint (push) Successful in 20s

It's already shown under the name, including the verification status
This commit is contained in:
2025-04-26 17:44:56 +04:00
parent 29e2fca2a5
commit b907cc2f65

View File

@@ -113,9 +113,6 @@ export function articleListHtml(articles: Article[]): string {
function userAddressHtml(profile: Profile) { function userAddressHtml(profile: Profile) {
let html = ""; let html = "";
if (profile.nip05) {
html += `<dt>Nostr address</dt><dd>${profile.nip05}</dd>\n`;
}
if (profile.lud16) { if (profile.lud16) {
html += `<dt>Lightning address</dt><dd>${profile.lud16}</dd>\n`; html += `<dt>Lightning address</dt><dd>${profile.lud16}</dd>\n`;
} }