chore: removed sufficient if
This commit is contained in:
parent
0cdb5c2136
commit
1fbc2414fe
@ -125,9 +125,7 @@ export const ProfilePage = () => {
|
||||
const getLud16 = () => {
|
||||
let lud16 = ''
|
||||
|
||||
if (npub) {
|
||||
if (npub) lud16 = `${npub}@npub.cash`
|
||||
}
|
||||
if (npub) lud16 = `${npub}@npub.cash`
|
||||
|
||||
return lud16
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user