aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/actions.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 78af80886..a0fed265f 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -270,10 +270,9 @@ function requestRevealSeed (password) {
function addNewKeyring (type, opts) {
return (dispatch) => {
dispatch(actions.showLoadingIndication())
- background.addNewKeyring(type, opts, (err, newState) => {
+ background.addNewKeyring(type, opts, (err) => {
dispatch(actions.hideLoadingIndication())
if (err) return dispatch(actions.displayWarning(err.message))
- dispatch(actions.updateMetamaskState(newState))
dispatch(actions.showAccountsPage())
})
}