From cc81d85704944248c086548cbcf9b9bd2fb05a54 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 28 Oct 2023 01:37:05 +0100 Subject: [PATCH] fix double date in metrics --- src/components/AnalyticsChart.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/AnalyticsChart.tsx b/src/components/AnalyticsChart.tsx index 88ef9ea..a5d096b 100644 --- a/src/components/AnalyticsChart.tsx +++ b/src/components/AnalyticsChart.tsx @@ -88,9 +88,6 @@ export default function AnalyticsChart({ if (i >= 1) { const date = playerCountHistory[i - 1].time; labels.push(formatTimeAgo(date)); - } else { - const date = playerCountHistory[i].time; - labels.push(formatTimeAgo(date)); } }