fix: course length

This commit is contained in:
Arik Chakma
2025-09-01 18:11:04 +01:00
committed by Kamran Ahmed
parent f9f38101f9
commit 40c7ea1b43
+1 -2
View File
@@ -75,7 +75,6 @@ const { response: userCounts } =
resourceType='roadmap'
>
<div class='bg-gray-50'>
<!-- // TODO: get courses count -->
<RoadmapHeader
title={title}
description={description}
@@ -84,7 +83,7 @@ const { response: userCounts } =
isForkable={true}
activeTab='projects'
projectCount={projects.length}
coursesCount={0}
coursesCount={roadmapData.courses?.length || 0}
hasAIChat={true}
/>