Skip to content

Commit

Permalink
Merge pull request #221 from skip-mev/remove-evm-to-evm-warning
Browse files Browse the repository at this point in the history
remove evm to evm warning
  • Loading branch information
codingki authored Mar 25, 2024
2 parents 1689f20 + f88fde7 commit b812290
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/components/SwapWidget/SwapWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ export function SwapWidget() {
const destAccount = useAccount("destination");

const isWalletConnected = srcAccount?.isWalletConnected && destAccount?.isWalletConnected;
const isEvmtoEvm = srcAccount?.chainType === "evm" && destAccount?.chainType === "evm";

function promptDestAsset() {
document.querySelector("[data-testid='destination'] button")?.click();
Expand Down Expand Up @@ -238,16 +237,6 @@ export function SwapWidget() {
</p>
</div>
)}
{isEvmtoEvm && (
<div className="flex w-full items-center rounded-md bg-yellow-50 p-3 text-left text-sm font-medium text-yellow-600">
<p className="flex-1 [&_a]:underline">
<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{" "}
<AdaptiveLink href="https://jumper.exchange">jumper.exchange</AdaptiveLink>
</p>
</div>
)}
{!isWalletConnected && (
<button
className={cn(
Expand Down

0 comments on commit b812290

Please sign in to comment.