From 789d2ed6ca6320d4a167d4026b0bfa2b610ba916 Mon Sep 17 00:00:00 2001 From: Primakov Alexandr Alexandrovich Date: Sun, 15 Dec 2024 17:20:16 +0300 Subject: [PATCH] manual add for teacher only --- 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 6cf8b8f..b88ae4b 100644 --- a/src/pages/lesson-details.tsx +++ b/src/pages/lesson-details.tsx @@ -149,7 +149,7 @@ const LessonDetail = () => { - {studentsArr.map((student) => ( + {isTeacher(user) && studentsArr.map((student) => (