Update to named import

This commit is contained in:
2025-09-21 21:56:58 +02:00
parent de734f4a21
commit 08e34de7ca
21 changed files with 21 additions and 21 deletions

View File

@@ -3,7 +3,7 @@ import { formatNumber } from "@/lib/formatters"
import { getArcadeTotalWins } from "@/lib/hypixel/arcade/general"
import { NonNullStats } from "@/lib/schema/player"
import { BasicStat } from "../../_components/Stats"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import ArcadeOtherStats from "./other"
import { ArcadeMiniWallsStats, ArcadePixelPartyStats, ArcadeZombieStats } from "./stats"

View File

@@ -3,7 +3,7 @@ import { formatNumber } from "@/lib/formatters"
import { getBedwarsLevelForExp, getTotalBedwarsExpForLevel } from "@/lib/hypixel/bedwars/level"
import { devide, getProgress } from "@/lib/hypixel/general"
import { NonNullStats } from "@/lib/schema/player"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import { BedwarsLevel, BedwarsProgress } from "./components"
import BedwarsGeneralStats from "./stats"
import BedwarsStatTable from "./table"

View File

@@ -4,7 +4,7 @@ import { getBlitzMostPlayedKit } from "@/lib/hypixel/blitz/general"
import { devide } from "@/lib/hypixel/general"
import { NonNullStats } from "@/lib/schema/player"
import { cn } from "@/lib/utils"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import BlitzGeneralStats from "./stats"
import { BlitzKitStatsTable, BlitzModeStatsTable } from "./table"

View File

@@ -3,7 +3,7 @@ import { formatNumber } from "@/lib/formatters"
import { getBuildBattleRank } from "@/lib/hypixel/build-battle/general"
import { NonNullStats } from "@/lib/schema/player"
import { cn } from "@/lib/utils"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import BuildBattleTitleProgress from "./progress"
import BuildBattleGeneralStats from "./stats"
import BuildBattleStatsTable from "./table"

View File

@@ -2,7 +2,7 @@ import { Separator } from "@/components/ui/separator"
import { formatNumber } from "@/lib/formatters"
import { devide } from "@/lib/hypixel/general"
import { NonNullStats } from "@/lib/schema/player"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import { ArenaBrawlGeneralStats } from "./stats"
import { ArenaBrawlModeStatsTable } from "./table"

View File

@@ -2,7 +2,7 @@ import { Separator } from "@/components/ui/separator"
import { formatNumber } from "@/lib/formatters"
import { devide } from "@/lib/hypixel/general"
import { NonNullStats } from "@/lib/schema/player"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import { PaintballGeneralStats } from "./stats"
export default function PaintballStats({ stats }: { stats: NonNullStats["Paintball"] }) {

View File

@@ -2,7 +2,7 @@ import { Separator } from "@/components/ui/separator"
import { formatNumber } from "@/lib/formatters"
import { devide } from "@/lib/hypixel/general"
import { NonNullStats } from "@/lib/schema/player"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import { VampireZGeneralStats } from "./stats"
export default function VampireZStats({ stats }: { stats: NonNullStats["VampireZ"] }) {

View File

@@ -2,7 +2,7 @@ import { Separator } from "@/components/ui/separator"
import { formatNumber } from "@/lib/formatters"
import { devide } from "@/lib/hypixel/general"
import { NonNullStats } from "@/lib/schema/player"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import { WallsGeneralStats } from "./stats"
export default function WallsStats({ stats }: { stats: NonNullStats["Walls"] }) {

View File

@@ -3,7 +3,7 @@ import { formatNumber } from "@/lib/formatters"
import { getCopsAndCrimsScoreColor } from "@/lib/hypixel/copsandcrims/general"
import { devide } from "@/lib/hypixel/general"
import { NonNullStats } from "@/lib/schema/player"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import CopsAndCrimsGeneralStats from "./stats"
import CopsAndCrimsStatTable from "./table"
import CopsAndCrimsWeaponStats from "./weapons"

View File

@@ -3,7 +3,7 @@ import { formatNumber } from "@/lib/formatters"
import { getDuelsAllDivisions, getDuelsMostPlayed } from "@/lib/hypixel/duels/general"
import { devide, romanize } from "@/lib/hypixel/general"
import { NonNullStats } from "@/lib/schema/player"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import DuelsGeneralStats from "./stats"
import DuelsStatsTable from "./table"

View File

@@ -4,7 +4,7 @@ import { devide } from "@/lib/hypixel/general"
import { getMegaWallsDifficultyColor, getMegawallsMostPlayed } from "@/lib/hypixel/megawalls/general"
import { NonNullStats } from "@/lib/schema/player"
import { cn } from "@/lib/utils"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import MegaWallsGeneralStats from "./stats"
import { MegaWallsClassesTable, MegaWallsModesTable } from "./table"

View File

@@ -1,7 +1,7 @@
import { Separator } from "@/components/ui/separator"
import { formatNumber } from "@/lib/formatters"
import { NonNullStats } from "@/lib/schema/player"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import MurderMysteryInfectionStats from "./infection"
import MurderMysteryGeneralStats from "./stats"
import MurderMysteryStatTable from "./table"

View File

@@ -3,7 +3,7 @@ import { formatNumber } from "@/lib/formatters"
import { devide } from "@/lib/hypixel/general"
import { getPitPrestige } from "@/lib/hypixel/pit/general"
import { NonNullStats } from "@/lib/schema/player"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import PitLevel from "./level"
import PitProgress from "./progress"
import PitGeneralStats from "./stats"

View File

@@ -3,7 +3,7 @@ import { formatNumber } from "@/lib/formatters"
import { devide, getProgress } from "@/lib/hypixel/general"
import { getSkywarsLevel, getSkywarsXpForLevel } from "@/lib/hypixel/skywars/level"
import { NonNullStats } from "@/lib/schema/player"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import { SkywarsAngelOfDeath, SkywarsHeads, SkywarsLevel, SkywarsProgress, SkywarsShardProgress } from "./components"
import SkyWarsGeneralStats from "./stats"
import SkywarsStatTable from "./table"

View File

@@ -3,7 +3,7 @@ import { formatNumber } from "@/lib/formatters"
import { devide } from "@/lib/hypixel/general"
import { getSmashHerosDifficultyColor, getSmashHerosMostPlayedHero } from "@/lib/hypixel/smashhero/general"
import { NonNullStats } from "@/lib/schema/player"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import SmashHerosGeneralStats from "./stats"
import { SmashHerosHeroTable, SmashHerosModeTable } from "./table"

View File

@@ -3,7 +3,7 @@ import { formatNumber } from "@/lib/formatters"
import { devide } from "@/lib/hypixel/general"
import { getSpeedUHCStar } from "@/lib/hypixel/speeduhc/general"
import { NonNullStats } from "@/lib/schema/player"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import SpeedUHCProgress from "./progress"
import SpeedUHCGeneralStats from "./stats"
import { SpeedUHCMasteryStatsTable, SpeedUHCModeStatsTable } from "./table"

View File

@@ -5,7 +5,7 @@ import { CircleSlash } from "lucide-react"
import { ReactNode } from "react"
import CollapsedStats from "../_components/CollapsedStats"
export default function GeneralStats(
export function GeneralStats(
{ id, title, children, collapsedStats, className }: {
id: string
title: string

View File

@@ -1,6 +1,6 @@
import { Separator } from "@/components/ui/separator"
import { NonNullStats } from "@/lib/schema/player"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import TNTGamesGeneralStats from "./stats"
import TNTGamesWizardsStats from "./wizards"

View File

@@ -4,7 +4,7 @@ import { devide } from "@/lib/hypixel/general"
import { getUHCStatsCombined } from "@/lib/hypixel/uhc/general"
import { getUhcStarValue } from "@/lib/hypixel/uhc/level"
import { NonNullStats } from "@/lib/schema/player"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import UHCProgress from "./progress"
import UHCGeneralStats from "./stats"
import UHCStatTable from "./table"

View File

@@ -3,7 +3,7 @@ import { formatNumber } from "@/lib/formatters"
import { devide } from "@/lib/hypixel/general"
import { getWarlordsLosses, getWarlordsMostPlayedClass } from "@/lib/hypixel/warlords/general"
import { NonNullStats } from "@/lib/schema/player"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import { WarlordsWeaponsBar } from "./client"
import WarlordsGeneralStats from "./stats"
import { WarlordsClassStatsTable, WarlordsModeStatsTable } from "./table"

View File

@@ -3,7 +3,7 @@ import { formatNumber } from "@/lib/formatters"
import { getWoolGamesLevel, getWoolGamesPrestige, getWoolGamesPretigeIcon } from "@/lib/hypixel/woolgames/general"
import { NonNullStats } from "@/lib/schema/player"
import Multicolored from "../../_components/Multicolored"
import GeneralStats from "../stats-components"
import { GeneralStats } from "../stats-components"
import { WoolGamesCaptureTheWool, WoolGamesSheepWars, WoolGamesWoolWars } from "./modes"
import WoolGamesProgress from "./progress"
import WoolGamesGeneralStats from "./stats"