Remove redundant nostr address from details
All checks were successful
CI / Test and lint (push) Successful in 20s
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:
parent
29e2fca2a5
commit
b907cc2f65
3
html.ts
3
html.ts
@ -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`;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user