Skip to content
Snippets Groups Projects
Commit 7fd3504e authored by Dan Notestein's avatar Dan Notestein
Browse files

Merge branch 'fix-witness-rank' into 'develop'

Fix witness list starting at rank 02

See merge request !138
parents 0cc05cbf 49ef7cc8
No related branches found
No related tags found
2 merge requests!142merge develop to master for new release,!138Fix witness list starting at rank 02
......@@ -246,7 +246,7 @@ class Witnesses extends React.Component {
);
});
let witness_vote_count = 30;
let rank = 1;
let rank = 0;
let foundWitnessToHighlight = false;
let previousTotalVoteHpf = 0;
const now = Moment();
......@@ -375,15 +375,9 @@ class Witnesses extends React.Component {
}
}
const ownerStyle = isDisabled
? { textDecoration: 'line-through', color: '#AAA' }
: {};
const ownerStyle = isDisabled ? { textDecoration: 'line-through', color: '#AAA' } : {};
const witnessLastBlockAgeInDays = blockGap(
head_block,
lastBlock,
'days'
);
const witnessLastBlockAgeInDays = blockGap(head_block, lastBlock, 'days');
const witnessSocialLink = (_witnessName) => {
return (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment