Fixed bug

This commit is contained in:
2025-09-12 23:48:30 +02:00
parent 9ceaaffa13
commit 0ae7edbb24

View File

@@ -1,5 +1,6 @@
import { formatNumber } from "@/lib/formatters"
import { getWoolGamesPrestige, getWoolGamesXPForLevel } from "@/lib/hypixel/woolgames/general"
import { cn } from "@/lib/utils"
import { GenericProgress } from "../../_components/GenericProgress"
export default function WoolGamesProgress({ xp, level }: { xp: number, level: number }) {
@@ -17,7 +18,7 @@ export default function WoolGamesProgress({ xp, level }: { xp: number, level: nu
tooltipId="woolgamesprogress"
tooltipContent={`${xpProgress}/${ceilingXp} XP`}
percent={percent}
className="bg-mc-red"
className={cn(`bg-mc-${pres.color}`)}
/>
<p className={`text-mc-${next.color}`}>{Math.floor(level) + 1}</p>
</div>