Skip to content

Commit

Permalink
feat: temporary removal of waitlist etc (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
DereC4 authored Sep 29, 2024
1 parent be87e41 commit d424ccc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/views/components/calendar/CalendarCourseCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ export default function CalendarCourseCell({
onClick,
}: CalendarCourseCellProps): JSX.Element {
let rightIcon: React.ReactNode | null = null;
if (status === Status.WAITLISTED) {
rightIcon = <WaitlistIcon className='h-5 w-5' />;
} else if (status === Status.CLOSED) {
rightIcon = <ClosedIcon className='h-5 w-5' />;
} else if (status === Status.CANCELLED) {
rightIcon = <CancelledIcon className='h-5 w-5' />;
}
// if (status === Status.WAITLISTED) {
// rightIcon = <WaitlistIcon className='h-5 w-5' />;
// } else if (status === Status.CLOSED) {
// rightIcon = <ClosedIcon className='h-5 w-5' />;
// } else if (status === Status.CANCELLED) {
// rightIcon = <CancelledIcon className='h-5 w-5' />;
// }

// text-white or text-black based on secondaryColor
const fontColor = pickFontColor(colors.primaryColor);
Expand Down

0 comments on commit d424ccc

Please sign in to comment.