Updated import name

This commit is contained in:
2025-09-21 18:35:42 +02:00
parent 1cd02753d5
commit 288f09b2fd
6 changed files with 9 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui/table"
import { formatNumber, formatSecondsToTime } from "@/lib/formatters"
import { getAllBlitzKitStats, getBlitzBestMode, getBlitzKitLevel, getBlitzKitName, getBlitzMostPlayedKit } from "@/lib/hypixel/blitz/general"
import { getBlitzAllKitStats, getBlitzBestMode, getBlitzKitLevel, getBlitzKitName, getBlitzMostPlayedKit } from "@/lib/hypixel/blitz/general"
import { romanize } from "@/lib/hypixel/general"
import { NonNullStats } from "@/lib/schema/player"
import { cn } from "@/lib/utils"
@@ -54,7 +54,7 @@ function BlitzKitStatsTableHeader() {
}
export function BlitzKitStatsTable({ stats }: { stats: NonNullable<NonNullStats["Blitz"]> }) {
const kitStats = getAllBlitzKitStats(stats)
const kitStats = getBlitzAllKitStats(stats)
return (
<Table>
<BlitzKitStatsTableHeader />

View File

@@ -1,6 +1,6 @@
import { Separator } from "@/components/ui/separator"
import { formatNumber } from "@/lib/formatters"
import { getAllDuelsDivisions, getDuelsMostPlayed } from "@/lib/hypixel/duels/general"
import { getDuelsAllDivisions, getDuelsMostPlayed } from "@/lib/hypixel/duels/general"
import { devide, romanize } from "@/lib/hypixel/general"
import { NonNullStats } from "@/lib/schema/player"
import GeneralStats from "../GeneralStats"
@@ -12,7 +12,7 @@ export default function DuelsStats({ stats }: { stats: NonNullStats["Duels"] })
const wl = formatNumber(devide(stats.wins, stats.losses))
const kd = formatNumber(devide(stats.kills, stats.deaths))
const div = getAllDuelsDivisions(stats)
const div = getDuelsAllDivisions(stats)
const mostPlayed = getDuelsMostPlayed(stats)
return (

View File

@@ -2,7 +2,7 @@ import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@
import { formatNumber } from "@/lib/formatters"
import { romanize } from "@/lib/hypixel/general"
import {
getAllMegawallsClassStats,
getMegawallsAllClassStats,
getMegaWallsClass,
getMegaWallsDifficultyColor,
getMegaWallsModeName,
@@ -86,7 +86,7 @@ function MegaWallsTableHeader() {
}
function MegaWallsClassStats({ stats }: { stats: NonNullable<NonNullStats["MegaWalls"]> }) {
const classStats = getAllMegawallsClassStats(stats)
const classStats = getMegawallsAllClassStats(stats)
return (
<TableBody>
{classStats.map((c, i) => {