This commit is contained in:
Pico2x 2022-09-07 16:59:08 +01:00
parent 5f8cd66420
commit f104fdc541
2 changed files with 9 additions and 8 deletions

View File

@ -44,6 +44,7 @@ export const PortfolioValueSection = memo(
}} }}
> >
<option value="allTime">All time</option> <option value="allTime">All time</option>
<option value="monthly">Last Month</option>
<option value="weekly">Last 7d</option> <option value="weekly">Last 7d</option>
<option value="daily">Last 24h</option> <option value="daily">Last 24h</option>
</select> </select>

View File

@ -135,20 +135,20 @@ export default function Leaderboards(_props: {
defaultIndex={1} defaultIndex={1}
tabs={[ tabs={[
{ {
title: 'All Time', title: 'Daily',
content: LeaderboardWithPeriod('allTime'), content: LeaderboardWithPeriod('daily'),
},
{
title: 'Monthly',
content: LeaderboardWithPeriod('monthly'),
}, },
{ {
title: 'Weekly', title: 'Weekly',
content: LeaderboardWithPeriod('weekly'), content: LeaderboardWithPeriod('weekly'),
}, },
{ {
title: 'Daily', title: 'Monthly',
content: LeaderboardWithPeriod('daily'), content: LeaderboardWithPeriod('monthly'),
},
{
title: 'All Time',
content: LeaderboardWithPeriod('allTime'),
}, },
]} ]}
/> />