Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp

This commit is contained in:
Richard Ramos 2018-06-28 09:30:55 -04:00
commit d20a088138
1 changed files with 0 additions and 1 deletions

View File

@ -40,7 +40,6 @@ class App extends React.Component {
const { nPolls, poll } = PollManager.methods;
const polls = await nPolls.call();
const total = await polls.call();
console.log('total', total, polls);
if (total) getPolls(total, poll).then(rawPolls => { this.setState({ rawPolls })});
else this.setState({ rawPolls: [] });
}