Skip to content

Commit

Permalink
fix: Sort versions consistently
Browse files Browse the repository at this point in the history
I couldn't figure out why these lines of code were here, or if removing them would effect anything, but it seems to work perfectly fine
Closes #238
  • Loading branch information
Ushie committed Apr 28, 2024
1 parent abdf24f commit ebb2074
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/routes/patches/PatchItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@
const coercedA = coerce(a);
const coercedB = coerce(b);
if (coercedA && coercedB) return compare(coercedA, coercedB);
else if (!coercedA && !coercedB) return 0;
else return !coercedA ? 1 : -1;
})
.reverse() as version}
<li class="patch-info">
Expand Down

0 comments on commit ebb2074

Please sign in to comment.