From 51963cd1d9fccb39ffa76523aa74f83d609ecbca Mon Sep 17 00:00:00 2001 From: Starknet Dev Date: Wed, 11 Sep 2024 09:58:43 -0400 Subject: [PATCH] fix styles on leaderboard --- .../CollectionsLeaderboardScreen.tsx | 34 +++---------------- 1 file changed, 4 insertions(+), 30 deletions(-) diff --git a/ui/src/app/containers/CollectionsLeaderboardScreen.tsx b/ui/src/app/containers/CollectionsLeaderboardScreen.tsx index 71339b107..df68f5aa9 100644 --- a/ui/src/app/containers/CollectionsLeaderboardScreen.tsx +++ b/ui/src/app/containers/CollectionsLeaderboardScreen.tsx @@ -114,19 +114,7 @@ const ScoreGraph: React.FC = ({ (score.gamesPlayed / maxGamesPlayable) * 100 }%`, }} - > - {score.gamesPlayed > 0 && ( - {`${Math.round( - (score.gamesPlayed / maxGamesPlayable) * 100 - )}%`} - )} - + /> {score.xp > 0 && ( {formatXP(score.xp)} XP @@ -160,26 +148,12 @@ const ScoreGraph: React.FC = ({ style={{ width: `${(score.gamesPlayed / maxGamesPlayable) * 100}%`, }} - > - {score.gamesPlayed > 0 && ( - {`${Math.round( - (score.gamesPlayed / maxGamesPlayable) * 100 - )}%`} - )} - + /> {score.xp > 0 && (