Added wool games genereal stats

This commit is contained in:
2025-09-11 11:07:40 +02:00
parent ebdfebe20a
commit 11fb9b75cd
3 changed files with 41 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ import { NonNullStats } from "@/lib/schema/player"
import Multicolored from "../../_components/Multicolored"
import GeneralStats from "../GeneralStats"
import WoolGamesProgress from "./progress"
import WoolGamesGeneralStats from "./stats"
export default function WoolGamesStats({ stats }: { stats: NonNullStats["WoolGames"] }) {
if (!stats) return null
@@ -36,6 +37,9 @@ export default function WoolGamesStats({ stats }: { stats: NonNullStats["WoolGam
>
<Separator className="my-4" />
<WoolGamesProgress xp={stats.progression?.experience || 0} level={level} />
<Separator className="my-4" />
<WoolGamesGeneralStats stats={stats} level={level} kills={kills} wins={wins} />
<Separator className="my-4" />
</GeneralStats>
)
}