Fixed bedwars types

This commit is contained in:
2025-09-03 13:26:03 +02:00
parent ee44397e4c
commit 5019b80c1f
3 changed files with 5 additions and 7 deletions

View File

@@ -5,8 +5,8 @@ import { BasicStat, Stat } from "../../_components/Stats"
import { BedWarsPrestige } from "./components"
export default function BedwarsGeneralStats(
{ statsChecked, level, percent, kd, fkd, bbl, wl }: {
statsChecked: NonNullStats["Bedwars"]
{ stats, level, percent, kd, fkd, bbl, wl }: {
stats: NonNullable<NonNullStats["Bedwars"]>
level: number
percent: number
kd: string
@@ -15,8 +15,6 @@ export default function BedwarsGeneralStats(
wl: string
}
) {
const stats = statsChecked!
return (
<div className="flex mb-10">
<div className="flex-1">