From c2fe846c5bfca540f2cb3dca7bbd8b3fed389473 Mon Sep 17 00:00:00 2001 From: Primakov Alexandr Alexandrovich Date: Wed, 8 Jan 2025 18:39:18 +0300 Subject: [PATCH] fix getNavigationValue name --- src/pages/course-list/course-details.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/course-list/course-details.tsx b/src/pages/course-list/course-details.tsx index f75faac..68597bd 100644 --- a/src/pages/course-list/course-details.tsx +++ b/src/pages/course-list/course-details.tsx @@ -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}` : '' } >