Skip to content

Commit

Permalink
sort bette rheh
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuzJ committed Nov 11, 2023
1 parent b80039e commit 3a0073b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dance-app/src/components/Leaderboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function Leaderboard({ pb }: LeaderboardProps) {
const scoredVideos = videos
.filter((video) => video.expand?.user)
.filter((video) => video.score !== 0)
.sort((a, b) => a.score - b.score);
.sort((a, b) => b.score - a.score);

return (
<div className="leaderboard-list">
Expand Down

0 comments on commit 3a0073b

Please sign in to comment.