`RewardByBlock` item only for `Sokol` and `xDai` networks
This commit is contained in:
parent
055d3e4e44
commit
f8810d44bc
|
@ -22,8 +22,10 @@ export class BallotProxyMetadata extends React.Component {
|
|||
/*8*/ { value: '9', label: ballotStore.ProxyBallotType[9] } // RewardByBlock
|
||||
]
|
||||
|
||||
if (getNetworkName(contractsStore.netId).toLowerCase() !== constants.SOKOL) {
|
||||
options.splice(8) // keep 0-7 items and remove 8th if the network is not Sokol
|
||||
const networkName = getNetworkName(contractsStore.netId).toLowerCase()
|
||||
|
||||
if (networkName !== constants.SOKOL && networkName !== constants.DAI) {
|
||||
options.splice(8) // keep 0-7 items and remove 8th if the network is not Sokol or xDai
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue