File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/pages/dashboard/LeaderBoard Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import { ChevronRight, ChevronLeft } from "lucide-react";
1313import { useColorMode } from "@docusaurus/theme-common" ;
1414import useDocusaurusContext from "@docusaurus/useDocusaurusContext" ;
1515
16- const GITHUB_ORG = "recodehive" ; // <- Set your organization here
16+ const GITHUB_ORG = "recodehive" ;
1717const POINTS_PER_PR = 10 ;
1818
1919interface 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 ;
You can’t perform that action at this time.
0 commit comments