forked from Kieran/snort
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() {
|
|||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
|
{lnurl && (
|
||||||
<IconButton onClick={() => setShowLnQr(true)}>
|
<IconButton onClick={() => setShowLnQr(true)}>
|
||||||
<Zap width={14} height={16} />
|
<Zap width={14} height={16} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
|
)}
|
||||||
{!loggedOut && (
|
{!loggedOut && (
|
||||||
<>
|
<>
|
||||||
<IconButton onClick={() => navigate(`/messages/${hexToBech32("npub", id)}`)}>
|
<IconButton onClick={() => navigate(`/messages/${hexToBech32("npub", id)}`)}>
|
||||||
|
Loading…
Reference in New Issue
Block a user