feat: temporary removal of waitlist etc (#236)
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user