mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-08-30 08:19:23 +00:00
Update src/pages/course/[slug]/index.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
eda202c6a2
commit
41afe6a8ae
@ -314,7 +314,7 @@ const Course = () => {
|
|||||||
>
|
>
|
||||||
{sidebarVisible && (
|
{sidebarVisible && (
|
||||||
<CourseSidebar
|
<CourseSidebar
|
||||||
lessons={uniqueLessons}
|
lessons={[...uniqueLessons].sort((a, b) => a.index - b.index)}
|
||||||
activeIndex={activeIndex}
|
activeIndex={activeIndex}
|
||||||
onLessonSelect={handleLessonSelect}
|
onLessonSelect={handleLessonSelect}
|
||||||
completedLessons={completedLessons}
|
completedLessons={completedLessons}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user