Skip to content

Commit

Permalink
Fix a condition for checking if a token should be added (#11127)
Browse files Browse the repository at this point in the history
  • Loading branch information
dan437 authored May 18, 2021
1 parent 86b61a2 commit f9a52ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/ducks/swaps/swaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ export const fetchQuotesAndSetQuoteState = (
if (
toTokenAddress &&
toTokenSymbol !== swapsDefaultToken.symbol &&
!contractExchangeRates[toTokenAddress]
contractExchangeRates[toTokenAddress] === undefined
) {
destinationTokenAddedForSwap = true;
await dispatch(
Expand Down

0 comments on commit f9a52ed

Please sign in to comment.