Change default sort of all markets to most traded

This commit is contained in:
jahooma 2022-01-21 18:31:20 -06:00
parent 9733056ce7
commit affa9a5ab6

View File

@ -39,7 +39,9 @@ export default function Markets(props: {
}) {
const contracts = useContracts() ?? props.contracts
const { hotContracts, closingSoonContracts } = props
const { query, setQuery, sort, setSort } = useQueryAndSortParams()
const { query, setQuery, sort, setSort } = useQueryAndSortParams({
defaultSort: 'most-traded',
})
return (
<Page>