From affa9a5ab647fb52129959ee05193ba9ea5c84a9 Mon Sep 17 00:00:00 2001 From: jahooma Date: Fri, 21 Jan 2022 18:31:20 -0600 Subject: [PATCH] Change default sort of all markets to most traded --- web/pages/markets.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/pages/markets.tsx b/web/pages/markets.tsx index 4a32813a..1a18d16f 100644 --- a/web/pages/markets.tsx +++ b/web/pages/markets.tsx @@ -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 (