Skip to content

Commit

Permalink
Voting: fix vote details being confused about quorum and support (ara…
Browse files Browse the repository at this point in the history
  • Loading branch information
sohkai authored Sep 10, 2019
1 parent 96d9f13 commit a066c65
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/voting/app/src/screens/VoteDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,13 +211,13 @@ function VoteDetail({ vote, onBack, onVote, onExecute }) {
${textStyle('body2')};
`}
>
{round(quorumProgress * 100, 2)}%{' '}
{round(votesYeaVotersSize * 100, 2)}%{' '}
<span
css={`
color: ${theme.surfaceContentSecondary};
`}
>
({round(minAcceptQuorum * 100, 2)}% support needed)
({round(supportRequired * 100, 2)}% support needed)
</span>
</div>
<SummaryBar
Expand All @@ -234,13 +234,13 @@ function VoteDetail({ vote, onBack, onVote, onExecute }) {
${textStyle('body2')};
`}
>
{round(votesYeaVotersSize * 100, 2)}%{' '}
{round(quorumProgress * 100, 2)}%{' '}
<span
css={`
color: ${theme.surfaceContentSecondary};
`}
>
({round(supportRequired * 100, 2)}% approval needed)
({round(minAcceptQuorum * 100, 2)}% approval needed)
</span>
</div>
<SummaryBar
Expand Down

0 comments on commit a066c65

Please sign in to comment.