From 85b4ab0faa109a757f6866d933d117078bc14701 Mon Sep 17 00:00:00 2001 From: Shivani Parit <58217306+paritshivani@users.noreply.github.com> Date: Thu, 14 Nov 2024 12:44:15 +0530 Subject: [PATCH] Update joinCourse.js --- packages/nulp_elite/src/pages/content/joinCourse.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/packages/nulp_elite/src/pages/content/joinCourse.js b/packages/nulp_elite/src/pages/content/joinCourse.js index 076fd880..6401125a 100644 --- a/packages/nulp_elite/src/pages/content/joinCourse.js +++ b/packages/nulp_elite/src/pages/content/joinCourse.js @@ -543,7 +543,7 @@ const JoinCourse = () => { const handleLinkClick = (id) => { if (isEnroll) { - navigate(`${routeConfig.ROUTES.PLAYER_PAGE.PLAYER}?id=${id}`, { + navigate(`${routeConfig.ROUTES.PLAYER_PAGE.PLAYER}?${id}`, { state: { coursename: userData?.result?.content?.name, batchid: batchDetails?.batchId, @@ -1668,7 +1668,7 @@ const JoinCourse = () => { {/* If it's not a content collection, render it like a clickable child */} {faqIndex.mimeType !== @@ -1699,7 +1699,7 @@ const JoinCourse = () => { {faqIndexname.children && faqIndexname.children.length > 0 ? ( @@ -1742,10 +1742,7 @@ const JoinCourse = () => { {child.children && child.children.length > 0 ? (