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
41afe6a8ae
commit
da0c6cad2a
@ -285,7 +285,7 @@ const Course = () => {
|
||||
{isMobileView && (
|
||||
<div className={`${activeTab === 'lessons' ? 'block' : 'hidden'}`}>
|
||||
<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