Skip to content

Commit

Permalink
rem: evm disclaimer
Browse files Browse the repository at this point in the history
  • Loading branch information
ericHgorski committed Nov 1, 2024
1 parent 073be86 commit 88152dc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import { useAtomValue } from "jotai";
import { SwapExecutionState } from "./SwapExecutionPage";
import { SwapExecutionPageRouteProps } from "./SwapExecutionPageRouteSimple";
import React from "react";
import { EvmDisclaimer } from "@/components/EvmDisclaimer";
import { swapExecutionStateAtom } from "@/state/swapExecutionPage";

type operationTypeToIcon = Record<OperationType, JSX.Element>;
Expand Down Expand Up @@ -159,7 +158,6 @@ export const SwapExecutionPageRouteDetailed = ({
);
})}
</Column>
<EvmDisclaimer route={route} />
</StyledSwapExecutionPageRoute>
);
};
Expand Down
4 changes: 0 additions & 4 deletions packages/widget-v2/src/pages/SwapPage/SwapDetailModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { getClientOperations, OperationType } from "@/utils/clientType";
import { convertTokenAmountToHumanReadableAmount } from "@/utils/crypto";
import { getBrandButtonTextColor } from "@/utils/colors";
import { QuestionMarkIcon } from "@/icons/QuestionMarkIcon";
import { EvmDisclaimer } from "@/components/EvmDisclaimer";

export const SwapDetailModal = createModal((modalProps: ModalProps) => {
const { data: route } = useAtomValue(skipRouteAtom);
Expand Down Expand Up @@ -222,9 +221,6 @@ export const SwapDetailModal = createModal((modalProps: ModalProps) => {
)}
</Column>
)}

<EvmDisclaimer route={route} />

<SwapDetailText justify="space-between">
<SwapPageFooterItems showRouteInfo />
</SwapDetailText>
Expand Down

0 comments on commit 88152dc

Please sign in to comment.