From 14c6f79bea165c2746b909fd81ca1ab2e150bd92 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 17 Apr 2024 04:07:39 +0100 Subject: [PATCH] cleanup --- package.json | 2 +- src/app/(pages)/player/[id]/page.tsx | 4 ++-- src/app/(pages)/server/[platform]/[hostname]/page.tsx | 4 ++-- src/app/components/player/lookup-player.tsx | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 1f3307d..37c6a98 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "scripts": { - "dev": "next dev", + "dev": "next dev --turbo", "build": "next build", "start": "next start", "lint": "next lint" diff --git a/src/app/(pages)/player/[id]/page.tsx b/src/app/(pages)/player/[id]/page.tsx index b50636a..43bc7ae 100644 --- a/src/app/(pages)/player/[id]/page.tsx +++ b/src/app/(pages)/player/[id]/page.tsx @@ -96,8 +96,8 @@ export default async function Page({ params: { id } }: Params): Promise
-

{player.username}

-

{player.uniqueId}

+

{player.username}

+

{player.uniqueId}

diff --git a/src/app/(pages)/server/[platform]/[hostname]/page.tsx b/src/app/(pages)/server/[platform]/[hostname]/page.tsx index 78872d0..22f9072 100644 --- a/src/app/(pages)/server/[platform]/[hostname]/page.tsx +++ b/src/app/(pages)/server/[platform]/[hostname]/page.tsx @@ -124,8 +124,8 @@ export default async function Page({ params: { platform, hostname } }: Params): )}
-

{server.hostname}

-
+

{server.hostname}

+

Players online: {formatNumber(server.players.online)}/{formatNumber(server.players.max)}

diff --git a/src/app/components/player/lookup-player.tsx b/src/app/components/player/lookup-player.tsx index 826405d..32fa063 100644 --- a/src/app/components/player/lookup-player.tsx +++ b/src/app/components/player/lookup-player.tsx @@ -30,7 +30,7 @@ export function LookupPlayer(): JSX.Element { return (
- +