From 8d617ca1f7d967b70aa68015145397b7829321bd Mon Sep 17 00:00:00 2001 From: Skylar Barrera Date: Fri, 20 Oct 2023 00:01:20 -0400 Subject: [PATCH] swaps: fix crosschain chainID in seach (#5135) --- src/screens/CurrencySelectModal.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/screens/CurrencySelectModal.tsx b/src/screens/CurrencySelectModal.tsx index df025c00f6c..86d28cc6ea0 100644 --- a/src/screens/CurrencySelectModal.tsx +++ b/src/screens/CurrencySelectModal.tsx @@ -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 = () => {