From 57144c5c9116a43fba5aca7da5e82075eb206b9b Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 18 Apr 2024 09:04:54 +0100 Subject: [PATCH] cleanup --- src/app/(pages)/server/[platform]/[[...hostname]]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(pages)/server/[platform]/[[...hostname]]/page.tsx b/src/app/(pages)/server/[platform]/[[...hostname]]/page.tsx index f25bf5c..26316c8 100644 --- a/src/app/(pages)/server/[platform]/[[...hostname]]/page.tsx +++ b/src/app/(pages)/server/[platform]/[[...hostname]]/page.tsx @@ -79,7 +79,7 @@ export async function generateMetadata({ params: { platform, hostname } }: Param try { const server = await getServer(platform, hostname); - const { hostname: serverHostname, players } = server as CachedJavaMinecraftServer | CachedBedrockMinecraftServer; + const { hostname: serverHostname, players } = server; const favicon = getFavicon(platform, server);