{courses.map((course) => {
const ceiling = ceilingMap.get(course.id);
+ const reqFor = requiredForSpec[course.id];
return (
diff --git a/app/src/components/Notifications.tsx b/app/src/components/Notifications.tsx
index b70683b..88f69ec 100644
--- a/app/src/components/Notifications.tsx
+++ b/app/src/components/Notifications.tsx
@@ -33,33 +33,3 @@ export function ModeComparison({
);
}
-export function MutualExclusionWarnings({ pinnedCourses }: { pinnedCourses: Record
}) {
- const warnings: string[] = [];
- const spr4Pin = pinnedCourses['spr4'];
-
- if (!spr4Pin) {
- warnings.push('Spring Set 4: choosing Sustainability for Competitive Advantage eliminates Entrepreneurship & Innovation (and vice versa).');
- } else if (spr4Pin === 'spr4-sustainability') {
- warnings.push('Entrepreneurship & Innovation is permanently unavailable (required course is in Spring Set 4, pinned to Sustainability).');
- } else if (spr4Pin === 'spr4-foundations-entrepreneurship') {
- warnings.push('Sustainable Business & Innovation is permanently unavailable (required course is in Spring Set 4, pinned to Foundations of Entrepreneurship).');
- }
-
- if (warnings.length === 0) return null;
-
- return (
-
- {warnings.map((w, i) => (
-
- {w}
-
- ))}
-
- );
-}