From 08e34de7caf26347ab5dc9bad954c80037ae871f Mon Sep 17 00:00:00 2001 From: Taken Date: Sun, 21 Sep 2025 21:56:58 +0200 Subject: [PATCH] Update to named import --- src/app/(stats)/player/[ign]/_stats/arcade/arcade.tsx | 2 +- src/app/(stats)/player/[ign]/_stats/bedwars/bedwars.tsx | 2 +- src/app/(stats)/player/[ign]/_stats/blitz/blitz.tsx | 2 +- .../(stats)/player/[ign]/_stats/build-battle/build-battle.tsx | 2 +- src/app/(stats)/player/[ign]/_stats/classic/arenabrawl.tsx | 2 +- src/app/(stats)/player/[ign]/_stats/classic/paintball.tsx | 2 +- src/app/(stats)/player/[ign]/_stats/classic/vampirez.tsx | 2 +- src/app/(stats)/player/[ign]/_stats/classic/walls.tsx | 2 +- .../(stats)/player/[ign]/_stats/copsandcrims/copsandcrims.tsx | 2 +- src/app/(stats)/player/[ign]/_stats/duels/duels.tsx | 2 +- src/app/(stats)/player/[ign]/_stats/megawalls/megawalls.tsx | 2 +- .../player/[ign]/_stats/murder-mystery/murder-mystery.tsx | 2 +- src/app/(stats)/player/[ign]/_stats/pit/pit.tsx | 2 +- src/app/(stats)/player/[ign]/_stats/skywars/skywars.tsx | 2 +- src/app/(stats)/player/[ign]/_stats/smashheros/smashheros.tsx | 2 +- src/app/(stats)/player/[ign]/_stats/speeduhc/speeduhc.tsx | 2 +- src/app/(stats)/player/[ign]/_stats/stats-components.tsx | 2 +- src/app/(stats)/player/[ign]/_stats/tnt-games/tnt-games.tsx | 2 +- src/app/(stats)/player/[ign]/_stats/uhc/uhc.tsx | 2 +- src/app/(stats)/player/[ign]/_stats/warlords/warlords.tsx | 2 +- src/app/(stats)/player/[ign]/_stats/woolgames/woolgames.tsx | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/app/(stats)/player/[ign]/_stats/arcade/arcade.tsx b/src/app/(stats)/player/[ign]/_stats/arcade/arcade.tsx index 01ec281..e74b67c 100644 --- a/src/app/(stats)/player/[ign]/_stats/arcade/arcade.tsx +++ b/src/app/(stats)/player/[ign]/_stats/arcade/arcade.tsx @@ -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" diff --git a/src/app/(stats)/player/[ign]/_stats/bedwars/bedwars.tsx b/src/app/(stats)/player/[ign]/_stats/bedwars/bedwars.tsx index 5851c9b..3b22e41 100644 --- a/src/app/(stats)/player/[ign]/_stats/bedwars/bedwars.tsx +++ b/src/app/(stats)/player/[ign]/_stats/bedwars/bedwars.tsx @@ -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" diff --git a/src/app/(stats)/player/[ign]/_stats/blitz/blitz.tsx b/src/app/(stats)/player/[ign]/_stats/blitz/blitz.tsx index 97b941c..fd8fa5e 100644 --- a/src/app/(stats)/player/[ign]/_stats/blitz/blitz.tsx +++ b/src/app/(stats)/player/[ign]/_stats/blitz/blitz.tsx @@ -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" diff --git a/src/app/(stats)/player/[ign]/_stats/build-battle/build-battle.tsx b/src/app/(stats)/player/[ign]/_stats/build-battle/build-battle.tsx index 4dfe3f0..d712461 100644 --- a/src/app/(stats)/player/[ign]/_stats/build-battle/build-battle.tsx +++ b/src/app/(stats)/player/[ign]/_stats/build-battle/build-battle.tsx @@ -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" diff --git a/src/app/(stats)/player/[ign]/_stats/classic/arenabrawl.tsx b/src/app/(stats)/player/[ign]/_stats/classic/arenabrawl.tsx index 39fc5c7..7321df3 100644 --- a/src/app/(stats)/player/[ign]/_stats/classic/arenabrawl.tsx +++ b/src/app/(stats)/player/[ign]/_stats/classic/arenabrawl.tsx @@ -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" diff --git a/src/app/(stats)/player/[ign]/_stats/classic/paintball.tsx b/src/app/(stats)/player/[ign]/_stats/classic/paintball.tsx index 981c2e3..a5162b7 100644 --- a/src/app/(stats)/player/[ign]/_stats/classic/paintball.tsx +++ b/src/app/(stats)/player/[ign]/_stats/classic/paintball.tsx @@ -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"] }) { diff --git a/src/app/(stats)/player/[ign]/_stats/classic/vampirez.tsx b/src/app/(stats)/player/[ign]/_stats/classic/vampirez.tsx index da6fa5a..9d49c9c 100644 --- a/src/app/(stats)/player/[ign]/_stats/classic/vampirez.tsx +++ b/src/app/(stats)/player/[ign]/_stats/classic/vampirez.tsx @@ -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"] }) { diff --git a/src/app/(stats)/player/[ign]/_stats/classic/walls.tsx b/src/app/(stats)/player/[ign]/_stats/classic/walls.tsx index c505e07..275b5f5 100644 --- a/src/app/(stats)/player/[ign]/_stats/classic/walls.tsx +++ b/src/app/(stats)/player/[ign]/_stats/classic/walls.tsx @@ -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"] }) { diff --git a/src/app/(stats)/player/[ign]/_stats/copsandcrims/copsandcrims.tsx b/src/app/(stats)/player/[ign]/_stats/copsandcrims/copsandcrims.tsx index d1ef1be..8c64420 100644 --- a/src/app/(stats)/player/[ign]/_stats/copsandcrims/copsandcrims.tsx +++ b/src/app/(stats)/player/[ign]/_stats/copsandcrims/copsandcrims.tsx @@ -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" diff --git a/src/app/(stats)/player/[ign]/_stats/duels/duels.tsx b/src/app/(stats)/player/[ign]/_stats/duels/duels.tsx index f825c23..2bb05bf 100644 --- a/src/app/(stats)/player/[ign]/_stats/duels/duels.tsx +++ b/src/app/(stats)/player/[ign]/_stats/duels/duels.tsx @@ -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" diff --git a/src/app/(stats)/player/[ign]/_stats/megawalls/megawalls.tsx b/src/app/(stats)/player/[ign]/_stats/megawalls/megawalls.tsx index 54ee3e0..d923562 100644 --- a/src/app/(stats)/player/[ign]/_stats/megawalls/megawalls.tsx +++ b/src/app/(stats)/player/[ign]/_stats/megawalls/megawalls.tsx @@ -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" diff --git a/src/app/(stats)/player/[ign]/_stats/murder-mystery/murder-mystery.tsx b/src/app/(stats)/player/[ign]/_stats/murder-mystery/murder-mystery.tsx index f7fa03c..e10290e 100644 --- a/src/app/(stats)/player/[ign]/_stats/murder-mystery/murder-mystery.tsx +++ b/src/app/(stats)/player/[ign]/_stats/murder-mystery/murder-mystery.tsx @@ -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" diff --git a/src/app/(stats)/player/[ign]/_stats/pit/pit.tsx b/src/app/(stats)/player/[ign]/_stats/pit/pit.tsx index c5172e5..ec4fab8 100644 --- a/src/app/(stats)/player/[ign]/_stats/pit/pit.tsx +++ b/src/app/(stats)/player/[ign]/_stats/pit/pit.tsx @@ -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" diff --git a/src/app/(stats)/player/[ign]/_stats/skywars/skywars.tsx b/src/app/(stats)/player/[ign]/_stats/skywars/skywars.tsx index e4518e6..7e3fb83 100644 --- a/src/app/(stats)/player/[ign]/_stats/skywars/skywars.tsx +++ b/src/app/(stats)/player/[ign]/_stats/skywars/skywars.tsx @@ -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" diff --git a/src/app/(stats)/player/[ign]/_stats/smashheros/smashheros.tsx b/src/app/(stats)/player/[ign]/_stats/smashheros/smashheros.tsx index 72cc172..cafee37 100644 --- a/src/app/(stats)/player/[ign]/_stats/smashheros/smashheros.tsx +++ b/src/app/(stats)/player/[ign]/_stats/smashheros/smashheros.tsx @@ -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" diff --git a/src/app/(stats)/player/[ign]/_stats/speeduhc/speeduhc.tsx b/src/app/(stats)/player/[ign]/_stats/speeduhc/speeduhc.tsx index 5d497d0..6bf468f 100644 --- a/src/app/(stats)/player/[ign]/_stats/speeduhc/speeduhc.tsx +++ b/src/app/(stats)/player/[ign]/_stats/speeduhc/speeduhc.tsx @@ -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" diff --git a/src/app/(stats)/player/[ign]/_stats/stats-components.tsx b/src/app/(stats)/player/[ign]/_stats/stats-components.tsx index ebcd166..51d9bca 100644 --- a/src/app/(stats)/player/[ign]/_stats/stats-components.tsx +++ b/src/app/(stats)/player/[ign]/_stats/stats-components.tsx @@ -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 diff --git a/src/app/(stats)/player/[ign]/_stats/tnt-games/tnt-games.tsx b/src/app/(stats)/player/[ign]/_stats/tnt-games/tnt-games.tsx index 8908c99..8e84251 100644 --- a/src/app/(stats)/player/[ign]/_stats/tnt-games/tnt-games.tsx +++ b/src/app/(stats)/player/[ign]/_stats/tnt-games/tnt-games.tsx @@ -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" diff --git a/src/app/(stats)/player/[ign]/_stats/uhc/uhc.tsx b/src/app/(stats)/player/[ign]/_stats/uhc/uhc.tsx index 2e7d5ba..255393a 100644 --- a/src/app/(stats)/player/[ign]/_stats/uhc/uhc.tsx +++ b/src/app/(stats)/player/[ign]/_stats/uhc/uhc.tsx @@ -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" diff --git a/src/app/(stats)/player/[ign]/_stats/warlords/warlords.tsx b/src/app/(stats)/player/[ign]/_stats/warlords/warlords.tsx index e0433a9..ed326e5 100644 --- a/src/app/(stats)/player/[ign]/_stats/warlords/warlords.tsx +++ b/src/app/(stats)/player/[ign]/_stats/warlords/warlords.tsx @@ -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" diff --git a/src/app/(stats)/player/[ign]/_stats/woolgames/woolgames.tsx b/src/app/(stats)/player/[ign]/_stats/woolgames/woolgames.tsx index 4a828d4..b939e31 100644 --- a/src/app/(stats)/player/[ign]/_stats/woolgames/woolgames.tsx +++ b/src/app/(stats)/player/[ign]/_stats/woolgames/woolgames.tsx @@ -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"