mirror of
https://github.com/status-im/snt-voting.git
synced 2025-02-23 15:48:10 +00:00
update copy when voting is disabled
This commit is contained in:
parent
c5201fc0a6
commit
5ead330dab
@ -129,7 +129,7 @@ class Poll extends PureComponent {
|
|||||||
<b>Your vote:</b> {value} votes ({value * value} SNT)
|
<b>Your vote:</b> {value} votes ({value * value} SNT)
|
||||||
</Typography>
|
</Typography>
|
||||||
{cantVote && <Typography variant="body2" color="error">
|
{cantVote && <Typography variant="body2" color="error">
|
||||||
{balance == 0 && <span>You can not vote because your account had no SNT when this poll was created</span>}
|
{balance == 0 && <span>Voting disabled for proposals made when there was no SNT in the account</span>}
|
||||||
{balance != 0 && !_canVote && <span>You can not vote on this poll</span>}
|
{balance != 0 && !_canVote && <span>You can not vote on this poll</span>}
|
||||||
</Typography>}
|
</Typography>}
|
||||||
{error && <Typography variant="body2" color="error">{error}</Typography>}
|
{error && <Typography variant="body2" color="error">{error}</Typography>}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user