diff --git a/src/components/Scheduler/SchedulerEvents/index.tsx b/src/components/Scheduler/SchedulerEvents/index.tsx index 999dd0a..b373a3e 100644 --- a/src/components/Scheduler/SchedulerEvents/index.tsx +++ b/src/components/Scheduler/SchedulerEvents/index.tsx @@ -32,6 +32,7 @@ export const SchedulerEvents = ({ cellTop, cellWidth }: SchedulerEventsProps) => useEffect(() => { function mapGroupTimeToEventRow(groups: Array) { + const groupsMappedToEventsTemp = []; for (const group of groups) { console.log(group); const groupTime = group.time; @@ -60,6 +61,7 @@ export const SchedulerEvents = ({ cellTop, cellWidth }: SchedulerEventsProps) => }, [choosenGroups]); useEffect(() => { + console.log(choosenGroups); console.log(groupsMappedToEvents); }, [groupsMappedToEvents]); diff --git a/src/components/TopBar/Results/index.tsx b/src/components/TopBar/Results/index.tsx index e365673..8b8b75c 100644 --- a/src/components/TopBar/Results/index.tsx +++ b/src/components/TopBar/Results/index.tsx @@ -89,8 +89,6 @@ export const Results: React.FC = () => { group.room = result[i].room.trim(); lecture.groups.push(group); } - console.log(result); - console.log(result[0].course.name); lecturesContext.addLecture(lecture); setOpen(false);