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
811d09979d
commit
2422420282
|
@ -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();
|
||||
});
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue