feat: temporary removal of waitlist etc (#236)

This commit is contained in:
2024-09-28 23:05:52 -05:00
committed by GitHub
parent be87e41814
commit d424ccce49

View File

@@ -43,13 +43,13 @@ export default function CalendarCourseCell({
onClick, onClick,
}: CalendarCourseCellProps): JSX.Element { }: CalendarCourseCellProps): JSX.Element {
let rightIcon: React.ReactNode | null = null; let rightIcon: React.ReactNode | null = null;
if (status === Status.WAITLISTED) { // if (status === Status.WAITLISTED) {
rightIcon = <WaitlistIcon className='h-5 w-5' />; // rightIcon = <WaitlistIcon className='h-5 w-5' />;
} else if (status === Status.CLOSED) { // } else if (status === Status.CLOSED) {
rightIcon = <ClosedIcon className='h-5 w-5' />; // rightIcon = <ClosedIcon className='h-5 w-5' />;
} else if (status === Status.CANCELLED) { // } else if (status === Status.CANCELLED) {
rightIcon = <CancelledIcon className='h-5 w-5' />; // rightIcon = <CancelledIcon className='h-5 w-5' />;
} // }
// text-white or text-black based on secondaryColor // text-white or text-black based on secondaryColor
const fontColor = pickFontColor(colors.primaryColor); const fontColor = pickFontColor(colors.primaryColor);