Skip to content

Commit

Permalink
Fix error status
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelklehr committed Oct 12, 2017
1 parent 47c34a1 commit d444cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Account.js
Expand Up @@ -186,7 +186,7 @@ export default class Account {
})
})
.then(() => {
this.setData({...this.getData(), syncing: false})
this.setData({...this.getData(), error: null, syncing: false})
})
.catch((err) => {
return this.setData({...this.getData(), error: err.message, syncing: false})
Expand Down

0 comments on commit d444cdf

Please sign in to comment.