Skip to content

Commit

Permalink
feat: prioritize order courses with warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kamui-fin committed Oct 17, 2023
1 parent 31d0bdb commit ef79a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/planner/Tiles/SemesterCourseItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const MemoizedSemesterCourseItem = React.memo(
? 'cursor-default bg-neutral-200'
: 'bg-inherit'
: 'cursor-default bg-neutral-200'
} ${semesterLocked || course.locked ? 'text-neutral-400' : 'text-[#1C2A6D]'}`}
} ${semesterLocked || course.locked ? 'text-neutral-400' : 'text-[#1C2A6D]'} ${!isValid && '-order-1'}`}
onClick={() => {
// Don't open if user is hovering over course info
if (!course.locked && !semesterLocked) setDropdownOpen(true);
Expand Down

0 comments on commit ef79a20

Please sign in to comment.