Fixed the core-contributors.

This commit is contained in:
NoobDeveloper412 2024-10-01 17:53:44 +05:00
parent de8be04b2f
commit 94fe600d56
2 changed files with 1 additions and 2 deletions

View file

@ -104,7 +104,7 @@ const sortedSections = sectionsConfig
<SpeakerGrid <SpeakerGrid
people={core.people} people={core.people}
team={core.teams["core-contributors"]} team={core.teams["core-contributors"]}
core={false} core={true}
/> />
</div> </div>
)} )}

View file

@ -5,7 +5,6 @@ const filteredPeople = core
? people.filter((p) => !team.includes(p.id)).filter((p) => p.imageUrl) ? people.filter((p) => !team.includes(p.id)).filter((p) => p.imageUrl)
: team; : team;
console.log(team, core)
// Limit the number of members to 12 (2 rows with a max of 6 columns each) // Limit the number of members to 12 (2 rows with a max of 6 columns each)
const limitedPeople = filteredPeople.slice(0, 12); const limitedPeople = filteredPeople.slice(0, 12);