diff --git a/src/pages/lesson-details.tsx b/src/pages/lesson-details.tsx index f04ceb9..634c0a7 100644 --- a/src/pages/lesson-details.tsx +++ b/src/pages/lesson-details.tsx @@ -144,7 +144,7 @@ const LessonDetail = () => { ); if (isNewReaction) { - groupedReactions[reaction.sub].push(reaction); + groupedReactions[reaction.sub] = [reaction]; } });