Skip to content

Commit

Permalink
remove evm to evm warning in transaction dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
NotJeremyLiu committed Mar 25, 2024
1 parent b812290 commit 8f3d0ea
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/components/TransactionDialog/TransactionDialogContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -287,20 +286,6 @@ function TransactionDialogContent({ route, onClose, isAmountError, transactionCo
</AlertCollapse.Content>
</AlertCollapse.Root>
)}
{isEvmtoEvm && (
<AlertCollapse.Root
type="warning"
initialOpen={true}
>
<AlertCollapse.Content>
<p>
<b>WARNING: </b>
ibc.fun only supports swapping/transferring to, from, and within the Cosmos ecosystem at this time. If
you&apos;re not transferring to or from a Cosmos chain, we recommend satelite.money
</p>
</AlertCollapse.Content>
</AlertCollapse.Root>
)}
{isAmountError && !isOngoing && !isTxComplete && (
<p className="text-balance text-center text-sm font-medium text-red-500">
{typeof isAmountError === "string" ? isAmountError : "Insufficient balance."}
Expand Down

0 comments on commit 8f3d0ea

Please sign in to comment.