Skip to content

Commit

Permalink
Fix sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Staab committed Jul 20, 2023
1 parent 8faff84 commit ecdbfdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
const getDateEvents = date =>
events
.filter(e => eventIsInRange(date, e))
.sort((a, b) => (getMeta(a).start > getMeta(b).start ? 1 : 0))
.sort((a, b) => (getMeta(a).start > getMeta(b).start ? 1 : -1))
const pendingNdk = (async () => {
const ndk = new NDK({
Expand Down

0 comments on commit ecdbfdc

Please sign in to comment.