diff --git a/src/pages/course-list/course-details.tsx b/src/pages/course-list/course-details.tsx index 132380d..59f4189 100644 --- a/src/pages/course-list/course-details.tsx +++ b/src/pages/course-list/course-details.tsx @@ -34,7 +34,7 @@ export const CourseDetails = ({ populatedCourse }: CourseDetailsProps) => { leftIcon={} as={'a'} colorScheme="blue" - href={getNavigationsValue('exam.main') + getNavigationsValue('link.exam.details').replace('courseId', populatedCourse.id).replace('examId', exam.id)} + href={getNavigationsValue('exam.main') + getNavigationsValue('link.exam.details').replace(':courseId', populatedCourse.id).replace(':examId', exam.id)} > Открыть