diff --git a/app/activity/[id]/components/activity-info.tsx b/app/activity/[id]/components/activity-info.tsx index a4ff129..8dffee3 100644 --- a/app/activity/[id]/components/activity-info.tsx +++ b/app/activity/[id]/components/activity-info.tsx @@ -4,7 +4,7 @@ import { Heading, Box, Text, VStack } from '@chakra-ui/react' type ActivityInfoProps = { memo: string | null | undefined - cost: number | null | undefined + cost: string | null | undefined } export const ActivityInfo = ({ memo, cost }: ActivityInfoProps) => { diff --git a/app/components/customDateTimePicker/dateTimePickerWrapper.tsx b/app/components/customDateTimePicker/dateTimePickerWrapper.tsx index 689a9fd..1e87eaa 100644 --- a/app/components/customDateTimePicker/dateTimePickerWrapper.tsx +++ b/app/components/customDateTimePicker/dateTimePickerWrapper.tsx @@ -8,6 +8,7 @@ import 'react-calendar/dist/Calendar.css' type ValuePiece = Date | null type Value = ValuePiece | [ValuePiece, ValuePiece] +// TODO Delete this and use react date picker for time as well export const CustomDateTimePicker = ({ onChange, value @@ -20,7 +21,7 @@ export const CustomDateTimePicker = ({ return ( <>