Skip to content

Commit

Permalink
Fix Wrongly Colored Event Pills
Browse files Browse the repository at this point in the history
  • Loading branch information
falbru committed Mar 7, 2023
1 parent 534477a commit 28683f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/events/components/CalendarCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const renderEvent = (event: Event) => {
const endTime = moment(event.endTime);

const isPreviousEvent =
moment(startTime).startOf('day') < moment().startOf('day');
moment(endTime) < moment();

const pillColor = colorForEvent(eventType);
const titleColor = textColorForEvent(eventType);
Expand Down

0 comments on commit 28683f4

Please sign in to comment.