Skip to content

Commit

Permalink
swaps: fix crosschain chainID in seach (#5135)
Browse files Browse the repository at this point in the history
  • Loading branch information
skylarbarrera authored Oct 20, 2023
1 parent 40ee3bb commit 8d617ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/screens/CurrencySelectModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,8 @@ export default function CurrencySelectModal() {
? { ...item, type: 'token' }
: {
...item,
decimals: item?.networks?.[chainId]?.decimals || item.decimals,
decimals:
item?.networks?.[currentChainId]?.decimals || item.decimals,
};

const selectAsset = () => {
Expand Down

0 comments on commit 8d617ca

Please sign in to comment.