Skip to content

Commit b197274

Browse files
committed
fix: sorting of notes
1 parent 15b8c5d commit b197274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/functions/notes.func.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const fetchNotes = async () => {
99
const aCreated = new Date(a.date_created);
1010
const bCreated = new Date(b.date_created);
1111

12-
return aCreated > bCreated ? 1 : -1;
12+
return aCreated < bCreated ? 1 : -1;
1313
});
1414
return items;
1515
}

0 commit comments

Comments
 (0)