Wrong variable name

This commit is contained in:
Richard Ramos 2018-06-26 08:22:44 -04:00
parent 98dcb1f803
commit 66b6fbf966
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class Voting extends Component {
finalResult: _data.result,
votingAvailable: _votingAvailable,
tabulationAvailable: _tabulationAvailable,
canCalculateFinalResult: _canCalculateFinalResult,
finalResultAvailable: _canCalculateFinalResult,
voteTabulated: _voteTabulated
});
}
@ -105,6 +105,7 @@ class Voting extends Component {
}
render(){
console.log(this.state);
return <div>
{
this.state.decision != 0 ?