1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

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

This commit is contained in:
Daniel 2021-05-18 20:16:17 +02:00 committed by Dan Miller
parent c9a539b5aa
commit 207cde27a5

View File

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