disable button if theres a fiat tip error

This commit is contained in:
Anthony 2021-07-22 18:47:41 +02:00 committed by jessopb
parent 713dc69ed7
commit 7975ccf3e0

View file

@ -574,7 +574,7 @@ function WalletSendTip(props: Props) {
disabled={
fetchingChannels ||
isPending ||
(tipError && activeTab !== TAB_FIAT) ||
tipError ||
!tipAmount ||
(activeTab === TAB_FIAT && (!hasCardSaved || !canReceiveFiatTip))
}