From 250feff2f4fa9820fab8c13015b7fda3deffa014 Mon Sep 17 00:00:00 2001 From: Primakov Alexandr Alexandrovich Date: Sun, 1 Sep 2024 16:11:08 +0300 Subject: [PATCH] fix link to exam --- 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 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)} > Открыть