mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-23 13:22:02 +03:00
Typo: vote_perecent to vote_percent
This commit is contained in:
parent
6a7de6391b
commit
96ee24a5c8
@ -165,7 +165,7 @@ const parseActiveVotes = (post, currentUserName) => {
|
|||||||
|
|
||||||
if (!isEmpty(post.active_votes)) {
|
if (!isEmpty(post.active_votes)) {
|
||||||
forEach(post.active_votes, value => {
|
forEach(post.active_votes, value => {
|
||||||
post.vote_perecent = value.voter === currentUserName ? value.percent : null;
|
post.vote_percent = value.voter === currentUserName ? value.percent : null;
|
||||||
value.value = (value.rshares * ratio).toFixed(3);
|
value.value = (value.rshares * ratio).toFixed(3);
|
||||||
value.reputation = getReputation(get(value, 'reputation'));
|
value.reputation = getReputation(get(value, 'reputation'));
|
||||||
value.percent /= 100;
|
value.percent /= 100;
|
||||||
|
Loading…
Reference in New Issue
Block a user