Skip to content

Commit

Permalink
feat(client): 스케쥴박스 액티브 조건 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
SEOKKAMONI committed Nov 16, 2023
1 parent 5781ce0 commit 2fcebcd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<StyledScheduleBoxItem active={active}>
Expand Down

0 comments on commit 2fcebcd

Please sign in to comment.