Fix staking era select (non-live oversight) (#8226)
This commit is contained in:
parent
9b2b1d7ee6
commit
3e2aef2353
@ -301,7 +301,7 @@ function useSortedTargetsImpl (favorites: string[], withLedger: boolean): Sorted
|
||||
(): SortedTargets => ({
|
||||
counterForNominators,
|
||||
counterForValidators,
|
||||
historyDepth,
|
||||
historyDepth: api.consts.staking.historyDepth || historyDepth,
|
||||
inflation,
|
||||
maxNominatorsCount,
|
||||
maxValidatorsCount,
|
||||
@ -315,7 +315,7 @@ function useSortedTargetsImpl (favorites: string[], withLedger: boolean): Sorted
|
||||
: baseInfo
|
||||
)
|
||||
}),
|
||||
[baseInfo, counterForNominators, counterForValidators, historyDepth, inflation, maxNominatorsCount, maxValidatorsCount, minNominatorBond, minValidatorBond]
|
||||
[api, baseInfo, counterForNominators, counterForValidators, historyDepth, inflation, maxNominatorsCount, maxValidatorsCount, minNominatorBond, minValidatorBond]
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user