From 2fcebcdb3ebf07fe5c1ed73120e9164334f81f9a Mon Sep 17 00:00:00 2001 From: SEOKKAMONI Date: Thu, 16 Nov 2023 17:10:14 +0900 Subject: [PATCH] =?UTF-8?q?feat(client):=20=EC=8A=A4=EC=BC=80=EC=A5=B4?= =?UTF-8?q?=EB=B0=95=EC=8A=A4=20=EC=95=A1=ED=8B=B0=EB=B8=8C=20=EC=A1=B0?= =?UTF-8?q?=EA=B1=B4=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/ScheduleBox/ScheduleBoxItem/ScheduleBoxItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/user/src/components/main/ScheduleBox/ScheduleBoxItem/ScheduleBoxItem.tsx b/apps/user/src/components/main/ScheduleBox/ScheduleBoxItem/ScheduleBoxItem.tsx index 50051e112..2d17c45e1 100644 --- a/apps/user/src/components/main/ScheduleBox/ScheduleBoxItem/ScheduleBoxItem.tsx +++ b/apps/user/src/components/main/ScheduleBox/ScheduleBoxItem/ScheduleBoxItem.tsx @@ -18,7 +18,7 @@ interface Props { } const ScheduleBoxItem = ({ plan, date, startTime, endTime }: Props) => { - const active = dayjs().isBetween(startTime, endTime); + const active = !dayjs().isBetween(startTime, endTime) && dayjs().isBefore(startTime); return (