Skip to content

Commit 179aeb5

Browse files
committed
final clean up, edited readme, removed old code
1 parent c58b11a commit 179aeb5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/Home/Contributors.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,9 @@ const profileList: profileInfo[] = [
195195

196196
export default function Contributors() {
197197
const profiles = [] as React.ReactNode[];
198-
profileList.reverse(); // Recent contributors first
199-
profileList.forEach((profile, i) => profiles.push(<Profile props={profile} key={`contributor${i}`} />))
198+
for (let i = profileList.length - 1; i >= 0; i--) {
199+
profiles.push(<Profile props={profileList[i]} key={`contributor${i}`} />)
200+
}
200201

201202
return (
202203
<div className="contributors container my-24 mx-auto px-6">

0 commit comments

Comments
 (0)