Skip to content

Commit

Permalink
added console log
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreya Bhandari committed Sep 7, 2024
1 parent 3dd54ea commit 50cfd95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ const coursePlans = courses;
const _coursePlansNoEditor = coursePlans.filter(({ editor }) => !!!editor);

const lessonPlans = [];
console.log(coursePlans.length)
for (let i = 0; i < coursePlans.length; i++) {
const course = coursePlans[i];
for (let j = 0; j < course.lessons.length; j++) {
Expand All @@ -123,6 +122,8 @@ const _lessonPlansNoEditor = lessonPlans.filter(
);

const findLessonById = (ID) => {
console.log(ID)
console.log(_lessonPlansNoEditor)
return _lessonPlansNoEditor.find((lessonPlan) => lessonPlan.id === ID);
};

Expand Down

0 comments on commit 50cfd95

Please sign in to comment.