aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-10-21 08:24:03 +0800
committerDan Finlay <dan@danfinlay.com>2016-10-21 08:29:25 +0800
commit957b7a72b55be864320a346108673d02448caefd (patch)
treeb44d07f86b50bca5213ed060d824db733b084619 /ui/app/actions.js
parent55d56f77cf42a9c4e80768fd7e4a9bb6f0485606 (diff)
downloadtangerine-wallet-browser-957b7a72b55be864320a346108673d02448caefd.tar
tangerine-wallet-browser-957b7a72b55be864320a346108673d02448caefd.tar.gz
tangerine-wallet-browser-957b7a72b55be864320a346108673d02448caefd.tar.bz2
tangerine-wallet-browser-957b7a72b55be864320a346108673d02448caefd.tar.lz
tangerine-wallet-browser-957b7a72b55be864320a346108673d02448caefd.tar.xz
tangerine-wallet-browser-957b7a72b55be864320a346108673d02448caefd.tar.zst
tangerine-wallet-browser-957b7a72b55be864320a346108673d02448caefd.zip
Improved simple account generation
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index e49cac4b4..525ceca54 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -195,7 +195,7 @@ function addNewKeyring (type, opts) {
background.addNewKeyring(type, opts, (err, newState) => {
dispatch(this.hideLoadingIndication())
if (err) {
- return dispatch(actions.showWarning(err.message))
+ return dispatch(actions.showWarning(err))
}
dispatch(this.updateMetamaskState(newState))
dispatch(this.showAccountsPage())