mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
Fix a condition for checking if a token should be added (#11127)
This commit is contained in:
parent
c9a539b5aa
commit
207cde27a5
@ -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