From 4ab2797f0b7906e1c8acf9a8f745a6e5f2980e36 Mon Sep 17 00:00:00 2001 From: Imhwitae Date: Mon, 1 Dec 2025 16:46:18 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=95=A0=20=EC=9D=BC=20=EB=AA=A9?= =?UTF-8?q?=EB=A1=9D=20=ED=8E=98=EC=9D=B4=EC=A7=80=EC=97=90=20=ED=91=9C?= =?UTF-8?q?=EC=B6=9C=EB=90=98=EB=8A=94=20=EB=82=A0=EC=A7=9C=20=EC=84=A0?= =?UTF-8?q?=ED=83=9D=ED=95=9C=20=EB=82=A0=EC=A7=9C=EB=A5=BC=20=EA=B8=B0?= =?UTF-8?q?=EC=A4=80=EC=9C=BC=EB=A1=9C=20=ED=91=9C=EC=B6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tasklist/_components/task-list-date-picker.tsx | 6 ++++-- src/app/[groupId]/tasklist/_components/task-list.tsx | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app/[groupId]/tasklist/_components/task-list-date-picker.tsx b/src/app/[groupId]/tasklist/_components/task-list-date-picker.tsx index be903c1e..d8d43907 100644 --- a/src/app/[groupId]/tasklist/_components/task-list-date-picker.tsx +++ b/src/app/[groupId]/tasklist/_components/task-list-date-picker.tsx @@ -21,12 +21,14 @@ import Skeleton from "react-loading-skeleton"; interface TaskListDatePickerProps { groupId: number; taskListId: number; + selectedDate: Date | null; setSelectedDate: Dispatch>; } const TaskListDatePicker = ({ groupId, taskListId, + selectedDate, setSelectedDate, }: TaskListDatePickerProps) => { const [currentSunday, setCurrentSunday] = useState(null); @@ -97,8 +99,8 @@ const TaskListDatePicker = ({

- {currentSunday ? ( - `${currentSunday.getFullYear()}년 ${currentSunday.getMonth() + 1}월` + {selectedDate ? ( + `${selectedDate.getFullYear()}년 ${selectedDate.getMonth() + 1}월` ) : ( )} diff --git a/src/app/[groupId]/tasklist/_components/task-list.tsx b/src/app/[groupId]/tasklist/_components/task-list.tsx index 1fd1ada5..0b84dee3 100644 --- a/src/app/[groupId]/tasklist/_components/task-list.tsx +++ b/src/app/[groupId]/tasklist/_components/task-list.tsx @@ -63,6 +63,7 @@ const TaskList = () => {