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

This commit is contained in:
Barry Gitarts 2018-06-27 15:43:03 -04:00
parent 811d09979d
commit 2422420282
1 changed files with 1 additions and 1 deletions

View File

@ -120,13 +120,13 @@ const AddPoll = withFormik({
.then(res => {
console.log('sucess:', res);
setSubmitting(false);
props.togglePoll();
})
.catch(res => {
console.log('fail:', res);
})
.finally(() => {
setSubmitting(false);
props.togglePoll();
});
}