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 ( if (
toTokenAddress && toTokenAddress &&
toTokenSymbol !== swapsDefaultToken.symbol && toTokenSymbol !== swapsDefaultToken.symbol &&
!contractExchangeRates[toTokenAddress] contractExchangeRates[toTokenAddress] === undefined
) { ) {
destinationTokenAddedForSwap = true; destinationTokenAddedForSwap = true;
await dispatch( await dispatch(

Loading…
Cancel
Save