diff --git a/frontend/components/Main/Main.tsx b/frontend/components/Main/Main.tsx index 460ba061..cfffd702 100644 --- a/frontend/components/Main/Main.tsx +++ b/frontend/components/Main/Main.tsx @@ -39,10 +39,10 @@ export const Main = () => { style={{ borderTopColor: 'transparent' }} > - + diff --git a/frontend/components/Main/MainAddFunds.tsx b/frontend/components/Main/MainAddFunds.tsx index 2058e70f..9f4ef935 100644 --- a/frontend/components/Main/MainAddFunds.tsx +++ b/frontend/components/Main/MainAddFunds.tsx @@ -1,10 +1,8 @@ import { CopyOutlined, // QrcodeOutlined, - WarningOutlined, } from '@ant-design/icons'; import { - Alert, Button, Flex, message, @@ -18,11 +16,12 @@ import { useCallback, useMemo, useState } from 'react'; import styled from 'styled-components'; import { copyToClipboard, truncateAddress } from '@/common-util'; -import { COLOR, COW_SWAP_GNOSIS_XDAI_OLAS_URL } from '@/constants'; +import { COW_SWAP_GNOSIS_XDAI_OLAS_URL } from '@/constants'; import { UNICODE_SYMBOLS } from '@/constants/unicode'; import { useWallet } from '@/hooks/useWallet'; import { Address } from '@/types'; +import { Alert } from '../common/Alert'; import { CardSection } from '../styled/CardSection'; const { Text } = Typography; @@ -94,16 +93,15 @@ export const MainAddFunds = () => { const AddFundsWarningAlertSection = () => ( } message={ - + Only send funds on Gnosis Chain! - + You will lose any assets you send on other chains. @@ -121,7 +119,7 @@ const AddFundsAddressSection = ({ truncatedFundingAddress?: string; handleCopy: () => void; }) => ( - + @@ -132,9 +130,7 @@ const AddFundsAddressSection = ({ GNO: {truncatedFundingAddress ?? '--'} - + +