diff --git a/src/pages/course-list/course-list.tsx b/src/pages/course-list/course-list.tsx
index f006b73..fe63eeb 100644
--- a/src/pages/course-list/course-list.tsx
+++ b/src/pages/course-list/course-list.tsx
@@ -152,7 +152,7 @@ export const CoursesList = () => {
return (
<>
-
+
{isTeacher(user) && (
diff --git a/src/pages/lesson-details.tsx b/src/pages/lesson-details.tsx
index b88ae4b..c71296d 100644
--- a/src/pages/lesson-details.tsx
+++ b/src/pages/lesson-details.tsx
@@ -1,9 +1,9 @@
-import React, { useEffect, useState, useRef, useMemo } from 'react'
+import React, { useEffect, useRef, useMemo } from 'react'
import { useParams, Link } from 'react-router-dom'
import dayjs from 'dayjs'
import QRCode from 'qrcode'
import { sha256 } from 'js-sha256'
-import { getConfigValue, getNavigationsValue } from '@brojs/cli'
+import { getConfigValue, getNavigationValue } from '@brojs/cli'
import {
Box,
Breadcrumb,
@@ -90,7 +90,7 @@ const LessonDetail = () => {
...(accessCode?.body.lesson.students || []),
]
- while (allStudents.length && presentStudents.length) {
+ while (presentStudents.length) {
const student = presentStudents.pop()
const present = allStudents.find((st) => st.sub === student.sub)
@@ -110,7 +110,7 @@ const LessonDetail = () => {
-
+
Журнал
@@ -118,7 +118,7 @@ const LessonDetail = () => {
Курс