Skip to content

Commit f88ab1f

Browse files
committed
more updates
1 parent 80a0418 commit f88ab1f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/pages/dashboard/LeaderBoard/leaderboard.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { ChevronRight, ChevronLeft } from "lucide-react";
1313
import { useColorMode } from "@docusaurus/theme-common";
1414
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
1515

16-
const GITHUB_ORG = "recodehive"; // <- Set your organization here
16+
const GITHUB_ORG = "recodehive";
1717
const POINTS_PER_PR = 10;
1818

1919
interface Contributor {
@@ -144,9 +144,8 @@ export default function LeaderBoard(): JSX.Element {
144144
const contributorMap = new Map<string, Contributor>();
145145
let totalMergedPRs = 0;
146146

147-
// sequentially to be friendly to rate limits; if you expect small org, you can parallelize
147+
148148
for (const repo of repos) {
149-
// skip forks or archived repos if desired
150149
if (repo.archived) continue;
151150

152151
const repoName = repo.name;

0 commit comments

Comments
 (0)