From b9205cbdb60643f48a7159c4b0c8e92e4aa69c56 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 27 Oct 2023 16:32:33 +0100 Subject: [PATCH] fix? --- src/app/analytics/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/analytics/page.tsx b/src/app/analytics/page.tsx index 11f5d0a..10fffce 100644 --- a/src/app/analytics/page.tsx +++ b/src/app/analytics/page.tsx @@ -8,7 +8,7 @@ export const metadata: Metadata = { title: "Search", }; -export async function getData() { +async function getData() { const response = await fetch( "https://bs-tracker.fascinated.cc/analytics?time=30d", { @@ -22,7 +22,7 @@ export async function getData() { return json; } -export default async function Home() { +export default async function Analytics() { const playerCountHistory = await getData(); return (