From 09249323017e922da6643e180e714f509e0b0fc6 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Tue, 24 Oct 2023 06:18:25 +0300 Subject: [PATCH] fix: delete os card files for github test --- .../ValidatorInstalling/OsCard.stories.ts | 21 ----------- .../ValidatorInstalling/OsCard.tsx | 37 ------------------- 2 files changed, 58 deletions(-) delete mode 100644 src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/OsCard.stories.ts delete mode 100644 src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/OsCard.tsx diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/OsCard.stories.ts b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/OsCard.stories.ts deleted file mode 100644 index 19a7795f..00000000 --- a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/OsCard.stories.ts +++ /dev/null @@ -1,21 +0,0 @@ -import type { Meta, StoryObj } from '@storybook/react' - -import OSCard from './OSCard' -import { MAC } from '../../../../constants' - -const meta = { - title: 'ValidatorOnboarding/OSCard', - component: OSCard, - tags: ['autodocs'], -} satisfies Meta - -export default meta -type Story = StoryObj - -export const Default: Story = { - args: { - icon: '/icons/apple-logo.svg', - name: MAC, - isSelected: true, - }, -} diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/OsCard.tsx b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/OsCard.tsx deleted file mode 100644 index ac73df7f..00000000 --- a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/OsCard.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import { Stack, YStack } from 'tamagui' -import { Text } from '@status-im/components' - -import Icon from '../../../../components/General/Icon' - -type OSCardProps = { - name: string - icon: string - onClick?: () => void - isSelected?: boolean -} - -const OSCard = ({ name, icon, onClick, isSelected }: OSCardProps) => { - return ( - - - - {name} - - - - - ) -} - -export default OSCard