fix: course landing page not rendering lessons

This commit is contained in:
Rotimi Best
2024-09-14 21:27:52 +01:00
parent eea6ac5147
commit 9aa2d77117
@@ -293,7 +293,7 @@
{/if}
<!-- Sections - Lessons -->
{#if $course.version === COURSE_VERSION.V1}
{#if courseData.version === COURSE_VERSION.V1}
<section id="lessons" class="border-b border-gray-300 mt-8 pb-10">
<div class="flex items-center justify-between w-full mb-3">
<h3 class="text-2xl font-bold mt-0 mb-3">
@@ -318,7 +318,7 @@
{/each}
</div>
</section>
{:else if $course.version === COURSE_VERSION.V2}
{:else if courseData.version === COURSE_VERSION.V2}
<section id="lessons">
<!-- header -->
<div class="flex items-center justify-between">