From 23c943f05d5b4f0efcbe76bb6a7ebcba92abfe32 Mon Sep 17 00:00:00 2001 From: Primakov Alexandr Alexandrovich Date: Thu, 27 Mar 2025 13:51:25 +0300 Subject: [PATCH] force show new reaction --- src/pages/lesson-details.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; } });