Skip to content

Commit

Permalink
Minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed-elzeni committed Dec 14, 2024
1 parent f452805 commit 6740e36
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion apps/backend/src/controllers/courses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ export const getCourses: RequestHandler<
schedules: fromBoolLiteral(req.query.schedules),
},
});

res.json(courses);
} catch (e) {
next(e);
Expand Down
1 change: 0 additions & 1 deletion apps/frontend/src/components/CourseDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const CourseDetail = ({ courseID }: Props) => {
return (
<div className="m-auto space-y-4 p-6">
<CourseCard courseID={courseID} showFCEs={false} showCourseInfo={true} />

{fces && <FCECard fces={fces} />}
{info.schedules && (
<SchedulesCard
Expand Down

0 comments on commit 6740e36

Please sign in to comment.