From f104fdc541db6520c4190f24d6a423f1c18c7a5e Mon Sep 17 00:00:00 2001 From: Pico2x Date: Wed, 7 Sep 2022 16:59:08 +0100 Subject: [PATCH] Fix nits --- .../portfolio/portfolio-value-section.tsx | 1 + web/pages/leaderboards.tsx | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/web/components/portfolio/portfolio-value-section.tsx b/web/components/portfolio/portfolio-value-section.tsx index a7bce6bf..a0006c60 100644 --- a/web/components/portfolio/portfolio-value-section.tsx +++ b/web/components/portfolio/portfolio-value-section.tsx @@ -44,6 +44,7 @@ export const PortfolioValueSection = memo( }} > + diff --git a/web/pages/leaderboards.tsx b/web/pages/leaderboards.tsx index c882d31c..08819833 100644 --- a/web/pages/leaderboards.tsx +++ b/web/pages/leaderboards.tsx @@ -135,20 +135,20 @@ export default function Leaderboards(_props: { defaultIndex={1} tabs={[ { - title: 'All Time', - content: LeaderboardWithPeriod('allTime'), - }, - { - title: 'Monthly', - content: LeaderboardWithPeriod('monthly'), + title: 'Daily', + content: LeaderboardWithPeriod('daily'), }, { title: 'Weekly', content: LeaderboardWithPeriod('weekly'), }, { - title: 'Daily', - content: LeaderboardWithPeriod('daily'), + title: 'Monthly', + content: LeaderboardWithPeriod('monthly'), + }, + { + title: 'All Time', + content: LeaderboardWithPeriod('allTime'), }, ]} />