Updates speed uhc stats
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user