fix getNavigationValue name

This commit is contained in:
Primakov Alexandr Alexandrovich 2025-01-08 18:39:18 +03:00
parent 81533c3342
commit c2fe846c5b

View File

@ -95,7 +95,7 @@ export const CourseDetails = ({ populatedCourse }: CourseDetailsProps) => {
key={lesson.id}
to={
isTeacher(user)
? `${getNavigationsValue('journal.main')}/lesson/${populatedCourse.id}/${lesson.id}`
? `${getNavigationValue('journal.main')}/lesson/${populatedCourse.id}/${lesson.id}`
: ''
}
>