diff options
Move state update outside of conditional callback block
Diffstat (limited to 'app/scripts/keyring-controller.js')
-rw-r--r-- | app/scripts/keyring-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/keyring-controller.js b/app/scripts/keyring-controller.js index 224d6ba7a..cb92af388 100644 --- a/app/scripts/keyring-controller.js +++ b/app/scripts/keyring-controller.js @@ -180,8 +180,8 @@ module.exports = class KeyringController extends EventEmitter { if (cb) { cb() - this.emit('update') } + this.emit('update') } submitPassword (password, cb) { |