Skip to content

Commit 7bf42a7

Browse files
committed
chore: cleanup
1 parent d7b9ce4 commit 7bf42a7

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

apps/site/next-data/generators/supportersData.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ async function fetchOpenCollectiveData() {
1313

1414
const members = payload
1515
.filter(({ role, isActive }) => role === 'BACKER' && isActive)
16-
.sort((a, b) => {
17-
return b.totalAmountDonated - a.totalAmountDonated; //descending
18-
})
16+
.sort((a, b) => b.totalAmountDonated - a.totalAmountDonated)
1917
.map(({ name, website, image, profile }) => ({
2018
name,
2119
image,

0 commit comments

Comments
 (0)