From fd298897713df0ffd25787cf2184fc942721e91a Mon Sep 17 00:00:00 2001 From: Canh Trinh Date: Mon, 21 Mar 2022 21:26:10 -0400 Subject: [PATCH] chore: removing erc20 warning for native assets on EVM --- .../app/parts/swap-widget/TransactionStatusWindow/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/app/parts/swap-widget/TransactionStatusWindow/index.tsx b/src/pages/app/parts/swap-widget/TransactionStatusWindow/index.tsx index eba60d08..53c2d717 100644 --- a/src/pages/app/parts/swap-widget/TransactionStatusWindow/index.tsx +++ b/src/pages/app/parts/swap-widget/TransactionStatusWindow/index.tsx @@ -288,7 +288,7 @@ const TransactionStatusWindow = ({ ) }, } - if (sourceChain?.module === "evm" && activeStep === 2 && !userConfirmed) { + if (sourceChain?.module === "evm" && activeStep === 2 && !userConfirmed && sourceChain.chainName.toLowerCase() !== selectedSourceAsset?.native_chain) { const message: any = (
Be sure to send only the{" "}