fix: remove duplicate maxConnections info, use h-screen utility

This commit is contained in:
2026-03-21 21:24:39 +01:00
parent da92ec72a7
commit 374899e839
2 changed files with 1 additions and 2 deletions

View File

@@ -77,7 +77,6 @@ export function ServerHeader({ server, user }: ServerHeaderProps) {
{ label: 'Track', value: server.state?.track ?? 'N/A' },
{ label: 'Players', value: `${server.state?.playerCount ?? 0} / ${server.state?.maxConnections ?? 0}` },
{ label: 'Session', value: server.state?.session ?? 'N/A' },
{ label: 'Max Connections', value: String(server.state?.maxConnections ?? 0) },
].map(({ label, value }) => (
<div key={label}>
<div className="text-xs text-gh-subtle">{label}</div>