From 1922b06395a8bd0125d18f26e7df6c3297bbd06c Mon Sep 17 00:00:00 2001 From: Micaela Estabillo Date: Tue, 14 Jan 2025 11:10:18 -0800 Subject: [PATCH] chore: retain src input amount after switching tokens --- ui/pages/bridge/prepare/prepare-bridge-page.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/pages/bridge/prepare/prepare-bridge-page.tsx b/ui/pages/bridge/prepare/prepare-bridge-page.tsx index 6083a7d6c2e8..a23b340a92af 100644 --- a/ui/pages/bridge/prepare/prepare-bridge-page.tsx +++ b/ui/pages/bridge/prepare/prepare-bridge-page.tsx @@ -490,7 +490,6 @@ const PrepareBridgePage = () => { toChainClientId && dispatch(setActiveNetwork(toChainClientId)); toChain && dispatch(setFromChain(toChain.chainId)); dispatch(setFromToken(toToken)); - dispatch(setFromTokenInputValue(null)); fromChain?.chainId && dispatch(setToChain(fromChain.chainId)); fromChain?.chainId && dispatch(setToChainId(fromChain.chainId)); dispatch(setToToken(fromToken));