From f9a52edb988e83cce82ae77dcfafd3ae79497665 Mon Sep 17 00:00:00 2001 From: Daniel <80175477+dan437@users.noreply.github.com> Date: Tue, 18 May 2021 20:16:17 +0200 Subject: [PATCH] Fix a condition for checking if a token should be added (#11127) --- ui/ducks/swaps/swaps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/ducks/swaps/swaps.js b/ui/ducks/swaps/swaps.js index a08424869b4c..34f7a84fe488 100644 --- a/ui/ducks/swaps/swaps.js +++ b/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(