From 4a2df56038c7afc882e6c05bdba26440eac06e4f Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Thu, 7 Mar 2024 12:18:13 -0300
Subject: some ui fixes

---
 packages/taler-wallet-webextension/src/components/PaymentButtons.tsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'packages/taler-wallet-webextension/src/components/PaymentButtons.tsx')

diff --git a/packages/taler-wallet-webextension/src/components/PaymentButtons.tsx b/packages/taler-wallet-webextension/src/components/PaymentButtons.tsx
index 21ee4d3d2..8eb3c6e7a 100644
--- a/packages/taler-wallet-webextension/src/components/PaymentButtons.tsx
+++ b/packages/taler-wallet-webextension/src/components/PaymentButtons.tsx
@@ -192,6 +192,9 @@ function PayWithMobile({ uri }: { uri: string }): VNode {
       setShowQR(undefined);
     }
   }
+  if (!payUri) {
+    return <Fragment />
+  }
   return (
     <section>
       <LinkSuccess upperCased onClick={sharePrivatePaymentURI}>
-- 
cgit v1.2.3

