wip
This commit is contained in:
@@ -159,13 +159,10 @@ export function LeagueStructureSection({
|
||||
}
|
||||
|
||||
if (nextStructure.mode === 'solo') {
|
||||
const { maxTeams, driversPerTeam, ...restStructure } = nextStructure;
|
||||
nextForm = {
|
||||
...nextForm,
|
||||
structure: {
|
||||
...nextStructure,
|
||||
maxTeams: undefined,
|
||||
driversPerTeam: undefined,
|
||||
},
|
||||
structure: restStructure,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -178,8 +175,6 @@ export function LeagueStructureSection({
|
||||
updateStructure({
|
||||
mode: 'solo',
|
||||
maxDrivers: structure.maxDrivers || 24,
|
||||
maxTeams: undefined,
|
||||
driversPerTeam: undefined,
|
||||
});
|
||||
} else {
|
||||
const maxTeams = structure.maxTeams ?? 12;
|
||||
|
||||
Reference in New Issue
Block a user