1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Make the UI play nice with empty RPC lists.

This commit is contained in:
Kevin Serrano 2017-02-22 15:32:01 -08:00
parent 1d0f5fb51c
commit 3be6ee5f6c
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
"isUnlocked": false, "isUnlocked": false,
"rpcTarget": "https://rawtestrpc.metamask.io/", "rpcTarget": "https://rawtestrpc.metamask.io/",
"identities": {}, "identities": {},
"frequentRpcList": [],
"unapprovedTxs": {}, "unapprovedTxs": {},
"currentFiat": "USD", "currentFiat": "USD",
"conversionRate": 12.7527416, "conversionRate": 12.7527416,

View File

@ -58,7 +58,7 @@ function mapStateToProps (state) {
forgottenPassword: state.appState.forgottenPassword, forgottenPassword: state.appState.forgottenPassword,
lastUnreadNotice: state.metamask.lastUnreadNotice, lastUnreadNotice: state.metamask.lastUnreadNotice,
lostAccounts: state.metamask.lostAccounts, lostAccounts: state.metamask.lostAccounts,
frequentRpcList: state.metamask.frequentRpcList, frequentRpcList: state.metamask.frequentRpcList || [],
} }
} }