test
This commit is contained in:
parent
bd0f852f8a
commit
7eb3faa58d
|
@ -84,7 +84,7 @@ export async function fetchCourses() {
|
|||
}));
|
||||
|
||||
const sortedCoursesArray = coursesArray.sort((a, b) =>
|
||||
new Date(a.created_at).getTime() - new Date(b.created_at).getTime()
|
||||
new Date(a.created_at).getTime() - new Date(a.created_at).getTime()
|
||||
);
|
||||
|
||||
return sortedCoursesArray;
|
||||
|
|
Loading…
Reference in New Issue