From 8f3d0ea2ee15a2a3eddea3dcd8f892ca6dafffe0 Mon Sep 17 00:00:00 2001
From: Jeremy Liu <31809888+NotJeremyLiu@users.noreply.github.com>
Date: Mon, 25 Mar 2024 13:32:46 -0700
Subject: [PATCH] remove evm to evm warning in transaction dialog
---
.../TransactionDialogContent.tsx | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/src/components/TransactionDialog/TransactionDialogContent.tsx b/src/components/TransactionDialog/TransactionDialogContent.tsx
index 7786be2a..1226f02a 100644
--- a/src/components/TransactionDialog/TransactionDialogContent.tsx
+++ b/src/components/TransactionDialog/TransactionDialogContent.tsx
@@ -57,7 +57,6 @@ function TransactionDialogContent({ route, onClose, isAmountError, transactionCo
const showEthermintLikeLedgerWarning = isEthermintLedgerInOperation(route) && srcAccount?.wallet?.isLedger === true;
const showLedgerWarning = showCCTPLedgerWarning || showEthermintLikeLedgerWarning;
- const isEvmtoEvm = srcAccount?.chainType === "evm" && dstAccount?.chainType === "evm";
const { data: userAddresses } = useWalletAddresses(route.chainIDs);
@@ -287,20 +286,6 @@ function TransactionDialogContent({ route, onClose, isAmountError, transactionCo
)}
- {isEvmtoEvm && (
-
- WARNING:
- ibc.fun only supports swapping/transferring to, from, and within the Cosmos ecosystem at this time. If
- you're not transferring to or from a Cosmos chain, we recommend satelite.money
-
{typeof isAmountError === "string" ? isAmountError : "Insufficient balance."}