Skip to content

Commit 75b1ae5

Browse files
Update sort.js
1 parent 7521450 commit 75b1ae5

File tree

1 file changed

+0
-9
lines changed
  • src/shared/utils/challenge-listing

1 file changed

+0
-9
lines changed

src/shared/utils/challenge-listing/sort.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,13 @@ export default {
2626
name: 'Current phase',
2727
},
2828
[SORTS.MOST_RECENT]: {
29-
// func: (a, b) => moment(b.registrationStartDate).diff(a.registrationStartDate),
3029
name: 'Most recent',
3130
order: 'desc',
3231
},
3332
[SORTS.MOST_RECENT_START_DATE]: {
3433
name: 'Most recent',
3534
order: 'desc',
3635
},
37-
// [SORTS.NUM_REGISTRANTS]: {
38-
// func: (a, b) => b.numOfRegistrants - a.numOfRegistrants,
39-
// name: '# of registrants',
40-
// },
41-
// [SORTS.NUM_SUBMISSIONS]: {
42-
// func: (a, b) => b.numOfSubmissions - a.numOfSubmissions,
43-
// name: '# of submissions',
44-
// },
4536
[SORTS.PRIZE_HIGH_TO_LOW]: {
4637
func: (a, b) => b.totalPrize - a.totalPrize,
4738
name: 'Prize high to low',

0 commit comments

Comments
 (0)