From 5ebcc66f0e042db4c247044615893b7354807ad7 Mon Sep 17 00:00:00 2001 From: SeieunYoo Date: Sat, 2 Nov 2024 12:10:39 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=EB=82=B4=20=ED=95=A0=EC=9D=BC=20api?= =?UTF-8?q?=20dto=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/(afterLogin)/my-study/_components/DailyTaskItem.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/client/app/(afterLogin)/my-study/_components/DailyTaskItem.tsx b/apps/client/app/(afterLogin)/my-study/_components/DailyTaskItem.tsx index 53134d0a..4771c665 100644 --- a/apps/client/app/(afterLogin)/my-study/_components/DailyTaskItem.tsx +++ b/apps/client/app/(afterLogin)/my-study/_components/DailyTaskItem.tsx @@ -11,7 +11,7 @@ const DailyTaskItem = ({ index: number; }) => { const { - todoType, + taskType, week, deadLine, attendanceStatus, @@ -20,7 +20,7 @@ const DailyTaskItem = ({ studyDetailId, } = dailyTask; - return todoType === "ATTENDANCE" ? ( + return taskType === "ATTENDANCE" ? ( Date: Sat, 2 Nov 2024 12:15:34 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/client/types/dtos/myStudy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/types/dtos/myStudy.ts b/apps/client/types/dtos/myStudy.ts index df6bba1c..7e445924 100644 --- a/apps/client/types/dtos/myStudy.ts +++ b/apps/client/types/dtos/myStudy.ts @@ -72,7 +72,7 @@ export type StudyCurriculumListDtoType = StudyCurriculumDto[]; export interface DailyTaskDto { studyDetailId: number; week: number; - todoType: T; + taskType: T; deadLine: string; attendanceStatus: T extends "ATTENDANCE" ? AttendanceStatusType : never; assignmentTitle: T extends "ASSIGNMENT" ? string : never;