diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2017-02-23 07:32:01 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2017-02-23 07:32:01 +0800 |
commit | 3be6ee5f6cc5e7b79a8eeea182f91a15eb9ed989 (patch) | |
tree | 30db26a426594d7b9fd59033551ad5255206b84f | |
parent | 1d0f5fb51c355e6833d2e935a63d4957f0971f1e (diff) | |
download | tangerine-wallet-browser-3be6ee5f6cc5e7b79a8eeea182f91a15eb9ed989.tar tangerine-wallet-browser-3be6ee5f6cc5e7b79a8eeea182f91a15eb9ed989.tar.gz tangerine-wallet-browser-3be6ee5f6cc5e7b79a8eeea182f91a15eb9ed989.tar.bz2 tangerine-wallet-browser-3be6ee5f6cc5e7b79a8eeea182f91a15eb9ed989.tar.lz tangerine-wallet-browser-3be6ee5f6cc5e7b79a8eeea182f91a15eb9ed989.tar.xz tangerine-wallet-browser-3be6ee5f6cc5e7b79a8eeea182f91a15eb9ed989.tar.zst tangerine-wallet-browser-3be6ee5f6cc5e7b79a8eeea182f91a15eb9ed989.zip |
Make the UI play nice with empty RPC lists.
-rw-r--r-- | development/states/first-time.json | 1 | ||||
-rw-r--r-- | ui/app/app.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/development/states/first-time.json b/development/states/first-time.json index 108af9117..3554ee911 100644 --- a/development/states/first-time.json +++ b/development/states/first-time.json @@ -4,6 +4,7 @@ "isUnlocked": false, "rpcTarget": "https://rawtestrpc.metamask.io/", "identities": {}, + "frequentRpcList": [], "unapprovedTxs": {}, "currentFiat": "USD", "conversionRate": 12.7527416, diff --git a/ui/app/app.js b/ui/app/app.js index c1358f50f..d61f93dd2 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -58,7 +58,7 @@ function mapStateToProps (state) { forgottenPassword: state.appState.forgottenPassword, lastUnreadNotice: state.metamask.lastUnreadNotice, lostAccounts: state.metamask.lostAccounts, - frequentRpcList: state.metamask.frequentRpcList, + frequentRpcList: state.metamask.frequentRpcList || [], } } |