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={
fetchingChannels ||
isPending ||
(tipError && activeTab !== TAB_FIAT) ||
tipError ||
!tipAmount ||
(activeTab === TAB_FIAT && (!hasCardSaved || !canReceiveFiatTip))
}