limited max team limit

This commit is contained in:
Kristoffer Juelsenn 2022-04-13 11:11:13 +02:00
parent 8db810f160
commit 9cb0b1b55b
1 changed files with 2 additions and 3 deletions

View File

@ -100,8 +100,7 @@ function TournamentForm(props) {
{ value: 3, label: "8",}, { value: 3, label: "8",},
{ value: 4, label: "16",}, { value: 4, label: "16",},
{ value: 5, label: "32",}, { value: 5, label: "32",},
{ value: 6, label: "64",}, { value: 6, label: "64",}
{ value: 7, label: "128",}
]; ];
return ( return (
@ -147,7 +146,7 @@ function TournamentForm(props) {
<Grid container spacing={2} justifyContent="center"> <Grid container spacing={2} justifyContent="center">
<Grid item xs={8}> <Grid item xs={8}>
<Container> <Container>
<Slider aria-label="Teams" valueLabelDisplay="off" step={1} marks={marks} min={2} max={7} onChange={sliderUpdate} id="max-teams-slider" name="max-teams-slider" > <Slider aria-label="Teams" valueLabelDisplay="off" step={1} marks={marks} min={2} max={6} onChange={sliderUpdate} id="max-teams-slider" name="max-teams-slider" >
</Slider> </Slider>
</Container> </Container>
</Grid> </Grid>