Unverified Commit 3ca5193d authored by Michal Čaniga's avatar Michal Čaniga
Browse files

Order highest score by default in Leaderboard

parent 383eb392
......@@ -46,7 +46,6 @@ const computeColumns = (page: number, pageSize: number, currentUser?: User) =>
dataIndex: 'name',
key: 'name',
render: makeLeaderboardCellRenderer(currentUser),
defaultSortOrder: 'descend' as SortOrder,
sorter: makeStringSorter('name')
},
{
......@@ -62,7 +61,6 @@ const computeColumns = (page: number, pageSize: number, currentUser?: User) =>
dataIndex: 'highestSecondsAlive',
key: 'highestSecondsAlive',
render: makeLeaderboardCellRenderer(currentUser),
defaultSortOrder: 'descend' as SortOrder,
sorter: makeNumberSorter('highestSecondsAlive')
}
]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment