packages/page-parachains/src/Overview/useValidators.ts
Function mapValidators
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function mapValidators (startWith: Record<string, [GroupIndex, ValidatorInfo[]]>, ids: ParaId[], validators: AccountId[], groups: ParaValidatorIndex[][], indices: ParaValidatorIndex[], scheduled: CoreAssignment[]): Record<string, [GroupIndex, ValidatorInfo[]]> {