Adding in "Highest %" and "Lowest %" sort options
Quick alternative to https://github.com/manifoldmarkets/manifold/pull/850/files courtesy of James. One downside of this approach is that the % only update every 15 minutes; but maybe users won't notice?
This commit is contained in:
parent
6ef2beed8f
commit
70eec63533
|
@ -48,6 +48,8 @@ export const SORTS = [
|
||||||
{ label: 'Subsidy', value: 'liquidity' },
|
{ label: 'Subsidy', value: 'liquidity' },
|
||||||
{ label: 'Close date', value: 'close-date' },
|
{ label: 'Close date', value: 'close-date' },
|
||||||
{ label: 'Resolve date', value: 'resolve-date' },
|
{ label: 'Resolve date', value: 'resolve-date' },
|
||||||
|
{ label: 'Highest %', value: 'prob-descending' },
|
||||||
|
{ label: 'Lowest %', value: 'prob-ascending' },
|
||||||
] as const
|
] as const
|
||||||
|
|
||||||
export type Sort = typeof SORTS[number]['value']
|
export type Sort = typeof SORTS[number]['value']
|
||||||
|
|
Loading…
Reference in New Issue
Block a user