diff --git a/web/components/header.tsx b/web/components/header.tsx index 8fe9e23c..575be5ed 100644 --- a/web/components/header.tsx +++ b/web/components/header.tsx @@ -33,6 +33,12 @@ function SignInLink(props: { darkBackground?: boolean }) { <> {user ? ( <> + + + All markets + + + Create a market diff --git a/web/pages/markets.tsx b/web/pages/markets.tsx index ef9836ad..e27cc87b 100644 --- a/web/pages/markets.tsx +++ b/web/pages/markets.tsx @@ -90,7 +90,7 @@ export default function Markets() { const [query, setQuery] = useState('') type Sort = 'createdTime' | 'volume' - const [sort, setSort] = useState('createdTime') + const [sort, setSort] = useState('volume') function check(corpus: String) { return corpus.toLowerCase().includes(query.toLowerCase()) @@ -132,8 +132,8 @@ export default function Markets() { value={sort} onChange={(e) => setSort(e.target.value as Sort)} > - +