disable button if theres a fiat tip error

This commit is contained in:
Anthony 2021-07-22 18:47:41 +02:00
parent 86deadf099
commit a145c422c7
No known key found for this signature in database
GPG key ID: C386D3C93D50E356

View file

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