shuffle validators
This commit is contained in:
parent
7cf6f5db61
commit
db78f2fce5
|
@ -1,4 +1,4 @@
|
|||
import { orderBy } from "lodash"
|
||||
import { shuffle, orderBy } from "lodash"
|
||||
export default function(validators) {
|
||||
// let validatorsWithAvatars = []
|
||||
// let validatorsWithoutAvatars = []
|
||||
|
@ -19,5 +19,5 @@ export default function(validators) {
|
|||
orderedValidators = validatorsWithAvatars.concat(validatorsWithoutAvatars)
|
||||
*/
|
||||
}
|
||||
return orderedValidators
|
||||
return shuffle(orderedValidators)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue