Skip to content

Commit

Permalink
Blacklisted
Browse files Browse the repository at this point in the history
  • Loading branch information
gurjeetsinghvirdee committed Jun 20, 2023
1 parent 16ff752 commit 7772c3c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pages/leaderboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,12 @@ function Leaderboard() {
a.login < b.login
);
});
let blacklist = [];
// console.log("Disqualified : ", blacklist);
let blacklist = ["0xabdulkhalid"];
console.log("Disqualified : ", blacklist);
const rankedData = data.leaderboard
// .filter((usr) => {
// return (blacklist.includes(usr.login) === false);
// })
.filter((usr) => {
return (blacklist.includes(usr.login) === false);
})
.map((contributorData, idx) => ({
...contributorData,
rank: idx + 1,
Expand Down

0 comments on commit 7772c3c

Please sign in to comment.