Skip to content

Commit bd2ddf2

Browse files
committed
chore: retain src input amount after switching tokens
1 parent a6a91d5 commit bd2ddf2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ui/pages/bridge/prepare/prepare-bridge-page.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,6 @@ const PrepareBridgePage = () => {
489489
: undefined;
490490
toChainClientId && dispatch(setActiveNetwork(toChainClientId));
491491
dispatch(setFromToken(toToken));
492-
dispatch(setFromTokenInputValue(null));
493492
fromChain?.chainId && dispatch(setToChain(fromChain.chainId));
494493
fromChain?.chainId && dispatch(setToChainId(fromChain.chainId));
495494
dispatch(setToToken(fromToken));

0 commit comments

Comments
 (0)