diff --git a/src/components/player/player-rank-chart.tsx b/src/components/player/player-rank-chart.tsx index 4e3cea2..2986e72 100644 --- a/src/components/player/player-rank-chart.tsx +++ b/src/components/player/player-rank-chart.tsx @@ -169,7 +169,6 @@ type Props = { }; export default function PlayerRankChart({ player }: Props) { - console.log(player.statisticHistory); if ( player.statisticHistory === undefined || Object.keys(player.statisticHistory).length === 0 @@ -194,11 +193,10 @@ export default function PlayerRankChart({ player }: Props) { // Create labels based on days ago if (daysAgo === 0) { labels.push("Today"); - console.log(dateString); } else if (daysAgo === 1) { labels.push("Yesterday"); } else { - labels.push(`${daysAgo} days ago`); + labels.push(`${daysAgo + 1} days ago`); } history.rank && histories.rank.push(history.rank);