diff --git a/src/components/SwapForm/AddMEVProtectionModal.tsx b/src/components/SwapForm/AddMEVProtectionModal.tsx index cefff1d597..7fe6b3676f 100644 --- a/src/components/SwapForm/AddMEVProtectionModal.tsx +++ b/src/components/SwapForm/AddMEVProtectionModal.tsx @@ -138,17 +138,20 @@ export default function AddMEVProtectionModal({ isOpen, onClose }: { isOpen: boo - We suggest using the{' '} + + MEV + {' '} + Protection safeguards you from front-running attacks on Ethereum. We suggest you employing the{' '} RPC endpoint {' '} - of trusted third-parties like{' '} + of reliable third-parties such as{' '} Flashbots or{' '} - MEVBlocker to protect you from MEV Bots.{' '} + MEVBlocker.

- Please note that adding a RPC endpoint automatically is only supported via the MetaMask wallet. If you - wish to add the RPC endpoint to your wallet manually, refer to this{' '} + Note that adding the RPC endpoint automatically is only available via the MetaMask wallet. If you would + like to add the RPC endpoint to your wallet manually, please refer to this{' '} guide diff --git a/src/components/SwapForm/SlippageSettingGroup.tsx b/src/components/SwapForm/SlippageSettingGroup.tsx index 978ee0f1dd..dbefc5045d 100644 --- a/src/components/SwapForm/SlippageSettingGroup.tsx +++ b/src/components/SwapForm/SlippageSettingGroup.tsx @@ -8,11 +8,10 @@ import styled from 'styled-components' import { Shield } from 'components/Icons' import SlippageSetting from 'components/SwapForm/SlippageSetting' -import { MouseoverTooltip } from 'components/Tooltip' import { useActiveWeb3React } from 'hooks' import useMixpanel, { MIXPANEL_TYPE } from 'hooks/useMixpanel' import useTheme from 'hooks/useTheme' -import { ExternalLink, MEDIA_WIDTHS } from 'theme' +import { MEDIA_WIDTHS } from 'theme' import AddMEVProtectionModal from './AddMEVProtectionModal' @@ -52,25 +51,14 @@ export default function SlippageSettingGroup({ const rightButton = chainId === ChainId.MAINNET && walletEVM.isConnected ? ( - - MEV Protection will protect you from front-running and sandwich attacks on Ethereum. Learn more{' '} - - here ↗ - -
- } - > - - - {upToXXSmall ? null : ( - - Add MEV Protection - - )} - - + + + {upToXXSmall ? null : ( + + Add MEV Protection + + )} + ) : null return (