mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-18 20:09:25 +00:00
fix: stale closure due to non-unique key to the activity itself
This commit is contained in:
parent
5ff720ab06
commit
60373ad002
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ function ChapterElement(props: ChapterElementProps) {
|
|||
<div className="flex flex-col">
|
||||
{activities.map((activity: any, index: any) => {
|
||||
return (
|
||||
<div key={index} className="flex items-center ">
|
||||
<div key={activity.activity_uuid} className="flex items-center ">
|
||||
<ActivityElement
|
||||
orgslug={props.orgslug}
|
||||
course_uuid={props.course_uuid}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue