Fix a condition for checking if a token should be added (#11127)

feature/default_network_editable
Daniel 4 years ago committed by Dan Miller
parent c9a539b5aa
commit 207cde27a5
  1. 2
      ui/ducks/swaps/swaps.js

@ -443,7 +443,7 @@ export const fetchQuotesAndSetQuoteState = (
if (
toTokenAddress &&
toTokenSymbol !== swapsDefaultToken.symbol &&
!contractExchangeRates[toTokenAddress]
contractExchangeRates[toTokenAddress] === undefined
) {
destinationTokenAddedForSwap = true;
await dispatch(

Loading…
Cancel
Save