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