diff --git a/components/ReviewAddDetails/index.tsx b/components/ReviewAddDetails/index.tsx deleted file mode 100644 index b2a7099..0000000 --- a/components/ReviewAddDetails/index.tsx +++ /dev/null @@ -1,46 +0,0 @@ -import { UUID } from 'crypto'; -import COLORS from '@/styles/colors'; -import { Flex } from '@/styles/containers'; -import { P1 } from '@/styles/text'; -import { DropdownOption, PlantingTypeEnum, UserPlant } from '@/types/schema'; -import CustomSelect from '../CustomSelect'; -import DateInput from '../DateInput'; -import { ReviewContainer } from './styles'; - -export default function ReviewAddDetails({ - details, - updateInput, - plantDictionary, -}: { - details: Partial[]; - updateInput: (field: string, value: string, index: number) => void; - plantDictionary: Record; -}) { - const plantingTypeOptions: DropdownOption[] = [ - { value: 'TRANSPLANT', label: 'Transplant' }, - { value: 'INDOORS', label: 'Indoors' }, - { value: 'OUTDOORS', label: 'Outdoors' }, - ]; - - return ( - - {details.map((detail, index) => ( - - - {plantDictionary[detail.plant_id as UUID]} - - updateInput('planting_type', value, index)} - /> - updateInput('date_added', value, index)} - /> - - ))} - - ); -} diff --git a/components/ReviewAddDetails/styles.ts b/components/ReviewAddDetails/styles.ts deleted file mode 100644 index c007e07..0000000 --- a/components/ReviewAddDetails/styles.ts +++ /dev/null @@ -1,11 +0,0 @@ -import styled from 'styled-components'; - -export const ReviewContainer = styled.div` - width: 100%; - max-width: 500px; - background-color: white; - border-radius: 8px; - padding: 1.5rem; - justify-content: center; - box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); -`;