mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-06 01:02:04 +00:00
Recreate prod db
This commit is contained in:
parent
39ea9c2651
commit
69e1ac9463
@ -39,8 +39,6 @@ export default function CoursesCarousel() {
|
||||
// Sort courses by created_at in descending order (most recent first)
|
||||
const sortedCourses = processedCourses.sort((a, b) => b.created_at - a.created_at);
|
||||
|
||||
console.log("Sorted courses:", sortedCourses);
|
||||
|
||||
setProcessedCourses(sortedCourses);
|
||||
} else {
|
||||
console.log('No courses fetched or empty array returned');
|
||||
|
Loading…
x
Reference in New Issue
Block a user