From fce79862059ff87128513aee93e7f128a0d9929a Mon Sep 17 00:00:00 2001 From: vivek kasture Date: Fri, 22 Nov 2024 15:22:15 +0530 Subject: [PATCH] Issue #PS-0000 fix: Updated course planner API and folder structure --- src/components/CoursePlannerCards.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/CoursePlannerCards.tsx b/src/components/CoursePlannerCards.tsx index 5410aa87..e8327c8f 100644 --- a/src/components/CoursePlannerCards.tsx +++ b/src/components/CoursePlannerCards.tsx @@ -32,6 +32,7 @@ const CoursePlannerCards: React.FC = ({ name?: string; appIcon?: string; identifier?: string; + id?: string; }, index: number ) => ( @@ -39,7 +40,7 @@ const CoursePlannerCards: React.FC = ({ router.push(`/play/content/${resource?.identifier}`)} + onClick={() => router.push(`/play/content/${resource?.identifier || resource?.id}`)} >