diff --git a/src/components/General/AddCards/AddCard.stories.ts b/src/components/General/AddCard/AddCard.stories.ts similarity index 100% rename from src/components/General/AddCards/AddCard.stories.ts rename to src/components/General/AddCard/AddCard.stories.ts diff --git a/src/components/General/AddCards/AddCard.tsx b/src/components/General/AddCard/AddCard.tsx similarity index 100% rename from src/components/General/AddCards/AddCard.tsx rename to src/components/General/AddCard/AddCard.tsx diff --git a/src/components/General/AddCards/AddCardsContainer.stories.ts b/src/components/General/AddCards/AddCardsContainer.stories.ts deleted file mode 100644 index 11444395..00000000 --- a/src/components/General/AddCards/AddCardsContainer.stories.ts +++ /dev/null @@ -1,27 +0,0 @@ -import type { Meta, StoryObj } from '@storybook/react' - -import AddCardsContainer from './AddCardsContainer' - -const meta = { - title: 'General/AddCardsContainer', - component: AddCardsContainer, - parameters: { - layout: 'centered', - }, - tags: ['autodocs'], -} satisfies Meta - -export default meta -type Story = StoryObj - -export const Default: Story = { - args: { - cardsAmount: 2, - }, -} - -export const WithoutCards: Story = { - args: { - cardsAmount: 0, - }, -} diff --git a/src/components/General/AddCards/AddCardsContainer.tsx b/src/components/General/AddCards/AddCardsContainer.tsx deleted file mode 100644 index 06c18639..00000000 --- a/src/components/General/AddCards/AddCardsContainer.tsx +++ /dev/null @@ -1,29 +0,0 @@ -import { YStack } from 'tamagui' - -import AddCard from './AddCard' -import DashboardCardWrapper from '../../../pages/Dashboard/DashboardCardWrapper' -import { getHeightPercentages } from '../../../utilities' - -type AddCardsContainerProps = { - cardsAmount: number -} - -const AddCardsContainer = ({ cardsAmount }: AddCardsContainerProps) => { - return ( - - - {Array.from({ length: cardsAmount }).map((_, index) => ( - - ))} - - - ) -} - -export default AddCardsContainer