From f8816abb718e3884c5b59aefafd385a244ba9755 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Mon, 25 Mar 2024 22:41:39 +0200 Subject: [PATCH] fix(tools-cards): delete old components --- .../LeftManage/ValidatorToolCard.tsx | 36 ------------------- .../LeftManage/ValidatorToolsCards.tsx | 27 -------------- 2 files changed, 63 deletions(-) delete mode 100644 src/pages/ManageValidator/LeftManage/ValidatorToolCard.tsx delete mode 100644 src/pages/ManageValidator/LeftManage/ValidatorToolsCards.tsx diff --git a/src/pages/ManageValidator/LeftManage/ValidatorToolCard.tsx b/src/pages/ManageValidator/LeftManage/ValidatorToolCard.tsx deleted file mode 100644 index cd7eb2ed..00000000 --- a/src/pages/ManageValidator/LeftManage/ValidatorToolCard.tsx +++ /dev/null @@ -1,36 +0,0 @@ -import { Stack, YStack } from 'tamagui' -import { Text } from '@status-im/components' - -import Icon from '../../../components/General/Icon' - -type ValidatorToolCardProps = { - name: string - icon: string -} - -const ValidatorToolCard = ({ name, icon }: ValidatorToolCardProps) => { - return ( - {}} - > - - - {name} - - - - - ) -} - -export default ValidatorToolCard diff --git a/src/pages/ManageValidator/LeftManage/ValidatorToolsCards.tsx b/src/pages/ManageValidator/LeftManage/ValidatorToolsCards.tsx deleted file mode 100644 index c7a927ac..00000000 --- a/src/pages/ManageValidator/LeftManage/ValidatorToolsCards.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import { Stack } from 'tamagui' -import ValidatorToolCard from './ValidatorToolCard' - -const ValidatorToolsCards = () => { - const validatorToolsCardsData = [ - ['Deposit Funds', '/icons/download-keystore-backups-icon.svg'], - ['Stop Validator', '/icons/broken-chain.png'], - ['Export Validator', '/icons/hand-key.png'], - ['Exit Validator', '/icons/pig.png'], - ] - return ( - - {validatorToolsCardsData.map(([name, icon], index) => ( - - ))} - - ) -} - -export default ValidatorToolsCards