Move state update outside of conditional callback block

feature/default_network_editable
Dan Finlay 8 years ago
parent 869d731319
commit c4056a861a
  1. 2
      app/scripts/keyring-controller.js

@ -180,8 +180,8 @@ module.exports = class KeyringController extends EventEmitter {
if (cb) { if (cb) {
cb() cb()
this.emit('update')
} }
this.emit('update')
} }
submitPassword (password, cb) { submitPassword (password, cb) {

Loading…
Cancel
Save