mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-08-30 00:09:22 +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 && (
|
||||
<CourseSidebar
|
||||
lessons={uniqueLessons}
|
||||
lessons={[...uniqueLessons].sort((a, b) => a.index - b.index)}
|
||||
activeIndex={activeIndex}
|
||||
onLessonSelect={handleLessonSelect}
|
||||
completedLessons={completedLessons}
|
||||
|
Loading…
x
Reference in New Issue
Block a user