Always include staking favourites in the list (#2131)
* Always include staking favourites in the list * Filter by actual session validators
This commit is contained in:
parent
d9dccf6d08
commit
96b238efe8
@ -38,7 +38,7 @@ function Nominate ({ className, controllerId, nominees, onClose, next, stakingOv
|
||||
|
||||
useEffect((): void => {
|
||||
if (stakingOverview) {
|
||||
setValidators((stakingOverview.currentElected || []).map((acc): string => acc.toString()));
|
||||
setValidators(stakingOverview.validators.map((acc): string => acc.toString()));
|
||||
}
|
||||
}, [stakingOverview]);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user