Disable non-all time leaderboards

This commit is contained in:
James Grugett 2022-08-07 07:33:14 -07:00
parent 96abf43977
commit 13a2877e02

View File

@ -103,7 +103,7 @@ export default function Leaderboards(_props: {
<Title text={'Leaderboards'} className={'hidden md:block'} /> <Title text={'Leaderboards'} className={'hidden md:block'} />
<Tabs <Tabs
currentPageForAnalytics={'leaderboards'} currentPageForAnalytics={'leaderboards'}
defaultIndex={1} defaultIndex={0}
tabs={[ tabs={[
{ {
title: 'All Time', title: 'All Time',
@ -114,14 +114,14 @@ export default function Leaderboards(_props: {
// title: 'Monthly', // title: 'Monthly',
// content: LeaderboardWithPeriod('monthly'), // content: LeaderboardWithPeriod('monthly'),
// }, // },
{ // {
title: 'Weekly', // title: 'Weekly',
content: LeaderboardWithPeriod('weekly'), // content: LeaderboardWithPeriod('weekly'),
}, // },
{ // {
title: 'Daily', // title: 'Daily',
content: LeaderboardWithPeriod('daily'), // content: LeaderboardWithPeriod('daily'),
}, // },
]} ]}
/> />
</Page> </Page>