From 70907395bb8a0387e97a6f2e8cd5680a285fb5c3 Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 30 Oct 2023 16:47:46 +0000 Subject: [PATCH] remove tz on analytics page --- src/app/analytics/page.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/app/analytics/page.tsx b/src/app/analytics/page.tsx index 8d9e8ac..981c64c 100644 --- a/src/app/analytics/page.tsx +++ b/src/app/analytics/page.tsx @@ -21,7 +21,6 @@ async function getData() { const json = await response.json(); return { data: json as ScoresaberMetricsHistory, - timezone: Intl.DateTimeFormat().resolvedOptions().timeZone, }; } @@ -53,15 +52,12 @@ export async function generateMetadata(): Promise { } export default async function Analytics() { - const { data, timezone } = await getData(); + const { data } = await getData(); return (
- +

Analytics

Scoresaber metrics and statistics over the last 30 days. @@ -78,7 +74,6 @@ export default async function Analytics() {

-

Timezone: {timezone}