Skip to content

Commit

Permalink
fix: mf-6437 picking token
Browse files Browse the repository at this point in the history
  • Loading branch information
swkatmask committed Sep 29, 2024
1 parent 67a71ae commit 3baeab1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export function TradeView() {
if (picked) {
setChainId(picked.chainId as ChainId)
setFromToken(picked)
if (toChainId !== picked.chainId) setToToken(undefined)
if (toChainId !== picked.chainId && isSwap) setToToken(undefined)
}
}}>
<Box className={classes.icon}>
Expand Down

0 comments on commit 3baeab1

Please sign in to comment.