[Leaderboard] Show daily 'topBettor' leaderboard (#579)

This commit is contained in:
Pico2x 2022-06-24 18:24:20 +01:00 committed by GitHub
parent 8d7bf6fb64
commit e7abe709b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ export default function Leaderboards(props: {
<Col className="mx-4 items-center gap-10 lg:flex-row">
{!isLoading ? (
<>
{period === 'allTime' ? ( //TODO: show other periods once they're available
{period === 'allTime' || period === 'daily' ? ( //TODO: show other periods once they're available
<Leaderboard
title="🏅 Top bettors"
users={topTradersState}