mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Fix a condition for checking if a token should be added (#11127)
This commit is contained in:
parent
86b61a2fc2
commit
f9a52edb98
@ -443,7 +443,7 @@ export const fetchQuotesAndSetQuoteState = (
|
||||
if (
|
||||
toTokenAddress &&
|
||||
toTokenSymbol !== swapsDefaultToken.symbol &&
|
||||
!contractExchangeRates[toTokenAddress]
|
||||
contractExchangeRates[toTokenAddress] === undefined
|
||||
) {
|
||||
destinationTokenAddedForSwap = true;
|
||||
await dispatch(
|
||||
|
Loading…
Reference in New Issue
Block a user