diff --git a/frontend/src/components/courses/Review.tsx b/frontend/src/components/courses/Review.tsx index 91fa3c9..edef1f4 100644 --- a/frontend/src/components/courses/Review.tsx +++ b/frontend/src/components/courses/Review.tsx @@ -167,12 +167,6 @@ export const ReviewForm: React.FC = ({ errors.workPerWeek = 'Please input the average number of hours of work per week.'; - // Check relationship selection - if (isFromInstructor && selectedCourseId === undefined) - errors.course = 'Please select a course for this instructor.'; - else if (!isFromInstructor && selectedInstructorId === undefined) - errors.instructor = 'Please select an instructor for this course.'; - // Check if comments are provided if (!comments.trim()) errors.comments = 'Please leave a comment.'; @@ -369,19 +363,21 @@ export const ReviewForm: React.FC = ({ {/* Course selection - when coming from instructor page */} {isFromInstructor && (
- +
- {formErrors.course && ( -

{formErrors.course}

- )} -

+

If you don't see a course that should be here, email product@aspc.pomona.edu so we can add it!

@@ -407,19 +400,21 @@ export const ReviewForm: React.FC = ({ {/* Instructor selection - when coming from course page */} {!isFromInstructor && (
- +
- {formErrors.instructor && ( -

{formErrors.instructor}

- )} -

+

If you don't see a professor that should be here, email product@aspc.pomona.edu so we can add them!