diff --git a/src/ui/views/Approval/components/AddChain/UnsupportedAlert.tsx b/src/ui/views/Approval/components/AddChain/UnsupportedAlert.tsx index c27c9939351..89020f95964 100644 --- a/src/ui/views/Approval/components/AddChain/UnsupportedAlert.tsx +++ b/src/ui/views/Approval/components/AddChain/UnsupportedAlert.tsx @@ -1,14 +1,14 @@ import { Button } from 'antd'; import React from 'react'; import { ReactComponent as IconInfo } from '@/ui/assets/add-chain/info.svg'; -import { ReactComponent as IconEmail } from '@/ui/assets/add-chain/email.svg'; -import { noop, useApproval, useWallet } from '@/ui/utils'; +import { useApproval, useWallet } from '@/ui/utils'; import { useTranslation } from 'react-i18next'; import { Footer } from './style'; import { AddEthereumChainParams } from './type'; import IconUnknown from '@/ui/assets/token-default.svg'; import clsx from 'clsx'; import { useAccount } from '@/ui/store-hooks'; +import { NoActionBody } from '../NoActionAlert/NoActionBody'; interface Props { data: AddEthereumChainParams; @@ -80,32 +80,12 @@ export const UnsupportedAlert: React.FC = ({ data }) => { {t('page.switchChain.chainNotSupportYet')} -
-
- {isRequested ? ( -
- {requestedCount > 1 - ? t('page.switchChain.requestsReceivedPlural', { - count: requestedCount, - }) - : t('page.switchChain.requestsReceived')} -
- ) : ( -
- - - {t('page.switchChain.requestRabbyToSupport')} - -
- )} -
+