Switch portfolio default sort to recent trade
This commit is contained in:
parent
43b8c16fcc
commit
72a56b46fd
|
@ -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(() => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user