Added first table row

This commit is contained in:
2025-09-02 00:07:36 +02:00
parent c2a22471b6
commit f18c2dee3b
4 changed files with 250 additions and 251 deletions

View File

@@ -2,7 +2,7 @@ import { AccordionContent, AccordionItem, AccordionTrigger } from "@/components/
import { Card, CardContent } from "@/components/ui/card"
import { Separator } from "@/components/ui/separator"
import { formatNumber } from "@/lib/formatters"
import { getDivision, getMostPlayed } from "@/lib/hypixel/duels/duels"
import { getAllDivisions, getMostPlayed } from "@/lib/hypixel/duels/duels"
import { romanize } from "@/lib/hypixel/general"
import { NonNullStats } from "@/lib/schema/player"
import CollapsedStats from "../../_components/CollapsedStats"
@@ -14,7 +14,7 @@ export default function DuelsStats({ stats }: { stats: NonNullStats["Duels"] })
const wl = stats.wins / stats.losses
const kd = stats.kills / stats.deaths
const div = getDivision("all_modes", stats)
const div = getAllDivisions(stats)
const mostPlayed = getMostPlayed(stats)
return (