fixup! Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp
This commit is contained in:
parent
d810019375
commit
bf7653499b
|
@ -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: [] });
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue