diff --git a/packages/suite/src/views/wallet/coinmarket/common/CoinmarketSelectedOffer/CoinmarketOfferExchange/CoinmarketOfferExchangeSendApproval.tsx b/packages/suite/src/views/wallet/coinmarket/common/CoinmarketSelectedOffer/CoinmarketOfferExchange/CoinmarketOfferExchangeSendApproval.tsx index c30eeaa6972..04f44df16a0 100644 --- a/packages/suite/src/views/wallet/coinmarket/common/CoinmarketSelectedOffer/CoinmarketOfferExchange/CoinmarketOfferExchangeSendApproval.tsx +++ b/packages/suite/src/views/wallet/coinmarket/common/CoinmarketSelectedOffer/CoinmarketOfferExchange/CoinmarketOfferExchangeSendApproval.tsx @@ -52,7 +52,7 @@ export const CoinmarketOfferExchangeSendApproval = () => { selectedQuote?.status === 'CONFIRM' ? 'APPROVED' : 'MINIMAL', ); - const blockchainNetworks = useSelector(state => state.wallet.blockchain); + const blockchain = useSelector(state => state.wallet.blockchain); const { navigateToExchangeForm } = useCoinmarketNavigation(account); @@ -74,7 +74,7 @@ export const CoinmarketOfferExchangeSendApproval = () => { if (!selectedQuote.send) return null; const symbol = cryptoIdToSymbol(selectedQuote.send); - const blockchain = symbol && blockchainNetworks[symbol]; + const blockchainForSend = symbol && blockchain[symbol]; const isToken = parseCryptoId(selectedQuote.send)?.contractAddress !== undefined; @@ -145,12 +145,12 @@ export const CoinmarketOfferExchangeSendApproval = () => { > {dexTx.to} - {selectedQuote.approvalSendTxHash && blockchain && ( + {selectedQuote.approvalSendTxHash && blockchainForSend && ( }> )}