"use client"; import { formatNumber } from "@/utils/numberUtils"; import { calcPpBoundary } from "@/utils/scoresaber/scores"; import { useState } from "react"; import Label from "../Label"; import { Popover, PopoverContent, PopoverTrigger } from "../ui/popover"; import { Slider } from "../ui/slider"; type PPGainLabelProps = { playerId: string; }; export default function PPGainLabel({ playerId }: PPGainLabelProps) { const [ppBoundary, setPpBoundary] = useState(1); return (

Global PP Gain +{ppBoundary} pp

setPpBoundary(value[0])} />
); }