Fixed bug
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user