Switch portfolio default sort to recent trade

This commit is contained in:
James Grugett 2022-04-14 00:16:08 -05:00
parent 43b8c16fcc
commit 72a56b46fd

View File

@ -47,7 +47,7 @@ export function BetsList(props: { user: User }) {
const [contracts, setContracts] = useState<Contract[] | undefined>() const [contracts, setContracts] = useState<Contract[] | undefined>()
const [sort, setSort] = useState<BetSort>('value') const [sort, setSort] = useState<BetSort>('newest')
const [filter, setFilter] = useState<BetFilter>('open') const [filter, setFilter] = useState<BetFilter>('open')
useEffect(() => { useEffect(() => {