From a145c422c789b8b02f807b48c06f4a53520a513d Mon Sep 17 00:00:00 2001 From: Anthony Date: Thu, 22 Jul 2021 18:47:41 +0200 Subject: [PATCH] disable button if theres a fiat tip error --- ui/component/walletSendTip/view.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/component/walletSendTip/view.jsx b/ui/component/walletSendTip/view.jsx index 8d035fdea..a6b67ff84 100644 --- a/ui/component/walletSendTip/view.jsx +++ b/ui/component/walletSendTip/view.jsx @@ -574,7 +574,7 @@ function WalletSendTip(props: Props) { disabled={ fetchingChannels || isPending || - (tipError && activeTab !== TAB_FIAT) || + tipError || !tipAmount || (activeTab === TAB_FIAT && (!hasCardSaved || !canReceiveFiatTip)) }