@@ -172,18 +177,18 @@ class Poll extends PureComponent {
return
{opt.toString()}
{!cantVote }
-
+
})
}
-
-
{cantVote &&
{balance == 0 && Voting disabled for proposals made when there was no SNT in the account}
{balance != 0 && !_canVote && You can not vote on this poll}
}
+
+
{error && {error}}
{ideaSite && ideaSite.length > 0 && {ideaSite}}
@@ -203,6 +208,7 @@ class Poll extends PureComponent {
+
@@ -257,12 +263,12 @@ class BallotSlider extends Component {
};
render(){
- const {maxVotes, maxVotesAvailable} = this.props;
+ const {maxVotes, maxVotesAvailable, classes} = this.props;
const {value} = this.state;
const nextVote = value + 1;
return
-
+
Votes: {value} ({value * value} SNT)
{ nextVote <= maxVotesAvailable ? - Additional vote will cost {nextVote*nextVote - value*value} SNT : - Not enough balance available to buy additional votes }