Added wool games genereal stats
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user