Updates speed uhc stats

This commit is contained in:
2025-09-17 15:17:18 +02:00
parent a9125d255c
commit cdc13c1258
7 changed files with 115 additions and 3 deletions

View File

@@ -22,6 +22,7 @@ import MegaWallsStats from "./_stats/megawalls/megawalls"
import MurderMysteryStats from "./_stats/murder-mystery/murder-mystery"
import PitStats from "./_stats/pit/pit"
import SkyWarsStats from "./_stats/skywars/skywars"
import SpeedUHCStats from "./_stats/speeduhc/speeduhc"
import TNTGamesStats from "./_stats/tnt-games/tnt-games"
import UHCStats from "./_stats/uhc/uhc"
import WoolGamesStats from "./_stats/woolgames/woolgames"
@@ -92,10 +93,11 @@ export function PlayerStats(
"copsandcrims": <CopsAndCrimsStats stats={stats.CopsAndCrims} />,
"woolgames": <WoolGamesStats stats={stats.WoolGames} />,
"blitz": <BlitzStats stats={stats.Blitz} />,
"arcade": <ArcadeStats stats={stats.Arcade} />
"arcade": <ArcadeStats stats={stats.Arcade} />,
"speeduhc": <SpeedUHCStats stats={stats.SpeedUHC} />
} as const
const defaultOrder = Object.keys(statsComponents).sort()
const defaultOrder = Object.keys(statsComponents)
const orderToUse = layout || defaultOrder
const [statsOrder, setStatsOrder] = useState<string[]>(layout || defaultOrder)