Skip to content

Commit 68f0a4a

Browse files
committed
fix: self comparing
1 parent 59268f6 commit 68f0a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/leaderboard/Leaderboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const Leaderboard: React.FC<LeaderboardProps> = ({ benchmarkId }) => {
6161
if (row1.lintScore! > row2.lintScore!) {
6262
return -1;
6363
}
64-
if (row1.lintScore! < row1.lintScore!) {
64+
if (row1.lintScore! < row2.lintScore!) {
6565
return 1;
6666
}
6767
return 0;

0 commit comments

Comments
 (0)