From 86043e813fbf178ed9a4f490b5863a781e04fe69 Mon Sep 17 00:00:00 2001 From: Alejandro Gomez Date: Sun, 5 Feb 2023 12:30:26 +0100 Subject: [PATCH] fix: only show zap button if lnurl is available --- src/Pages/ProfilePage.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Pages/ProfilePage.tsx b/src/Pages/ProfilePage.tsx index 76f0ae0b..00a538c1 100644 --- a/src/Pages/ProfilePage.tsx +++ b/src/Pages/ProfilePage.tsx @@ -181,9 +181,11 @@ export default function ProfilePage() { ) : ( <> - setShowLnQr(true)}> - - + {lnurl && ( + setShowLnQr(true)}> + + + )} {!loggedOut && ( <> navigate(`/messages/${hexToBech32("npub", id)}`)}>