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) => (