From 60373ad0029151cacd97b7d7b0f0d221db6f022c Mon Sep 17 00:00:00 2001 From: Chris Holland Date: Sat, 19 Oct 2024 06:26:17 -0700 Subject: [PATCH] fix: stale closure due to non-unique key to the activity itself --- .../EditCourseStructure/DraggableElements/ChapterElement.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/components/Dashboard/Course/EditCourseStructure/DraggableElements/ChapterElement.tsx b/apps/web/components/Dashboard/Course/EditCourseStructure/DraggableElements/ChapterElement.tsx index c1325b1c..57aab3ec 100644 --- a/apps/web/components/Dashboard/Course/EditCourseStructure/DraggableElements/ChapterElement.tsx +++ b/apps/web/components/Dashboard/Course/EditCourseStructure/DraggableElements/ChapterElement.tsx @@ -155,7 +155,7 @@ function ChapterElement(props: ChapterElementProps) {
{activities.map((activity: any, index: any) => { return ( -
+