diff --git a/src/components/MyTimeComponents/MyTimeline/MyTimeline.tsx b/src/components/MyTimeComponents/MyTimeline/MyTimeline.tsx index cb92f1636..b849f9ccd 100644 --- a/src/components/MyTimeComponents/MyTimeline/MyTimeline.tsx +++ b/src/components/MyTimeComponents/MyTimeline/MyTimeline.tsx @@ -5,7 +5,7 @@ import "./index.scss"; import { getTimePart } from "@src/utils"; import { updateImpossibleGoals } from "./updateImpossibleGoals"; import { useMyTimelineStore } from "./useMyTimelineStore"; -import TaskItemComponent from "./TaskItem"; +import Task from "./Task"; type ImpossibleTaskId = string; @@ -51,7 +51,7 @@ export const MyTimeline: React.FC = ({ day, myTasks, taskDetail return ( - Promise; isExpanded: boolean; @@ -16,7 +16,7 @@ interface TaskItemProps { taskDetails: { [goalid: string]: TaskItem }; } -const TaskItemComponent: React.FC = ({ +const Task: React.FC = ({ task, handleActionClick, isExpanded, @@ -54,4 +54,4 @@ const TaskItemComponent: React.FC = ({ ); }; -export default TaskItemComponent; +export default Task;