Skip to content

Commit

Permalink
Merge pull request #270 from SEKI-YUTA/fix/contributors-grouping-15-typo
Browse files Browse the repository at this point in the history
[nits] contributors-grouping.ts:15のタイポを修正しました。
  • Loading branch information
kazzyfrog authored Aug 16, 2024
2 parents 8c89e85 + 0f69c21 commit a8c3e46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/contributors-grouping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ const groupContributorsBySection = (
0,
SECTION_SIZE * numSections,
);
const sctionGroups = [];
const sectionGroups = [];

for (let i = 0; i < numSections; i++) {
const start = i * SECTION_SIZE;
const end = start + SECTION_SIZE;
const group = contributorsToDisplay.slice(start, end);
sctionGroups.push(group);
sectionGroups.push(group);
}

return sctionGroups;
return sectionGroups;
};

export { latestContributorsColor, groupContributorsBySection };

0 comments on commit a8c3e46

Please sign in to comment.