merged conflicts
This commit is contained in:
commit
48992b7e04
@ -32,6 +32,7 @@ export const SchedulerEvents = ({ cellTop, cellWidth }: SchedulerEventsProps) =>
|
||||
|
||||
useEffect(() => {
|
||||
function mapGroupTimeToEventRow(groups: Array<Group>) {
|
||||
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]);
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user