Fixed bedwars types
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user