diff --git a/public/index.html b/public/index.html index b63401e..d69d8b4 100644 --- a/public/index.html +++ b/public/index.html @@ -1,5 +1,5 @@ - +
@@ -16,7 +16,7 @@
- {this.props.data.classgroups[0].group_id} {this.props.data.classgroups[0].day}
- {this.props.data.classgroups[0].time} {this.props.data.classgroups[0].room}
-
{this.props.data.classgroups[0].lecturer}
-
- {this.props.data.classgroups[1].group_id} {this.props.data.classgroups[1].day}
- {this.props.data.classgroups[1].time} {this.props.data.classgroups[1].room}
-
{this.props.data.classgroups[1].lecturer}
-
- {this.props.data.classgroups[0].group_id} {this.props.data.classgroups[0].day}
- {this.props.data.classgroups[0].time} {this.props.data.classgroups[0].room}
-
{this.props.data.classgroups[0].lecturer}
-
- {this.props.data.classgroups[1].group_id} {this.props.data.classgroups[1].day}
- {this.props.data.classgroups[1].time} {this.props.data.classgroups[1].room}
-
{this.props.data.classgroups[1].lecturer}
-
+ this.props.onClassHover(
+ this.props.data.classname,
+ this.props.data.classgroups[index].group_id
+ )
+ }
+ >
+ {classgroup.group_id} {classgroup.day} {classgroup.time}{" "}
+ {classgroup.room}
{classgroup.lecturer}
+