mirror of
https://github.com/status-im/snt-voting.git
synced 2025-02-23 15:48:10 +00:00
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…
x
Reference in New Issue
Block a user