There seems to be repetitive code in review.ts under reviews.map...... Maybe we can have a common utility function for this (to avoid code duplication)
Imo the reviewFor field under reviews.map.... can be cleaned up by using the reviewLabelType for it so we do not have to use as "professor" | "course") throughout