Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp
This commit is contained in:
commit
64f05f2143
|
@ -79,7 +79,7 @@ class Poll extends Component {
|
||||||
balance,
|
balance,
|
||||||
votes } = this.state;
|
votes } = this.state;
|
||||||
|
|
||||||
const disableVote = !_canVote || isSubmitting;
|
const disableVote = balance == 0 || !_canVote || isSubmitting;
|
||||||
const maxValue = Math.floor(Math.sqrt(balance));
|
const maxValue = Math.floor(Math.sqrt(balance));
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue