Skip to content

Commit

Permalink
Issue #PS-0000 fix: Updated course planner API and folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
itsvick committed Nov 22, 2024
1 parent 3c9de51 commit fce7986
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/CoursePlannerCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,15 @@ const CoursePlannerCards: React.FC<CoursePlannerCardsProps> = ({
name?: string;
appIcon?: string;
identifier?: string;
id?: string;
},
index: number
) => (
<Grid item xs={6} md={4} lg={2} sx={{ mt: 2 }} key={index}>
<Box
className="facilitator-bg"
sx={{ backgroundImage: `url(${resource?.appIcon ? resource.appIcon : '/decorationBg.png'})`, position: 'relative', }}
onClick={() => router.push(`/play/content/${resource?.identifier}`)}
onClick={() => router.push(`/play/content/${resource?.identifier || resource?.id}`)}
>
<div
style={{
Expand Down

0 comments on commit fce7986

Please sign in to comment.