mirror of
https://github.com/ershisan99/www.git
synced 2026-01-29 05:22:04 +00:00
add rolling winrate chart
This commit is contained in:
@@ -51,7 +51,7 @@ export function WinrateTrendChart({ games }: { games: SelectGames[] }) {
|
|||||||
</div>
|
</div>
|
||||||
<Slider
|
<Slider
|
||||||
value={[gamesWindow]}
|
value={[gamesWindow]}
|
||||||
onValueChange={(value) => setGamesWindow(value[0])}
|
onValueChange={(value) => setGamesWindow(value[0] ?? 0)}
|
||||||
min={5}
|
min={5}
|
||||||
max={Math.min(100, games.length)}
|
max={Math.min(100, games.length)}
|
||||||
step={1}
|
step={1}
|
||||||
|
|||||||
Reference in New Issue
Block a user