fix: only show zap button if lnurl is available
This commit is contained in:
parent
31b4954f13
commit
86043e813f
@ -181,9 +181,11 @@ export default function ProfilePage() {
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<IconButton onClick={() => setShowLnQr(true)}>
|
||||
<Zap width={14} height={16} />
|
||||
</IconButton>
|
||||
{lnurl && (
|
||||
<IconButton onClick={() => setShowLnQr(true)}>
|
||||
<Zap width={14} height={16} />
|
||||
</IconButton>
|
||||
)}
|
||||
{!loggedOut && (
|
||||
<>
|
||||
<IconButton onClick={() => navigate(`/messages/${hexToBech32("npub", id)}`)}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user