diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2017-02-22 04:51:56 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2017-02-22 04:51:56 +0800 |
commit | 17a7436602191d11bb02771a87bd74f7baeb49ea (patch) | |
tree | 205e8e831fd8cf6d4350f8d12e2659910bdce5d7 /ui/app | |
parent | 026e0e3383cedf290b2cb55e663f158e7f1c1a68 (diff) | |
download | tangerine-wallet-browser-17a7436602191d11bb02771a87bd74f7baeb49ea.tar tangerine-wallet-browser-17a7436602191d11bb02771a87bd74f7baeb49ea.tar.gz tangerine-wallet-browser-17a7436602191d11bb02771a87bd74f7baeb49ea.tar.bz2 tangerine-wallet-browser-17a7436602191d11bb02771a87bd74f7baeb49ea.tar.lz tangerine-wallet-browser-17a7436602191d11bb02771a87bd74f7baeb49ea.tar.xz tangerine-wallet-browser-17a7436602191d11bb02771a87bd74f7baeb49ea.tar.zst tangerine-wallet-browser-17a7436602191d11bb02771a87bd74f7baeb49ea.zip |
Connect to actions.
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/actions.js | 1 | ||||
-rw-r--r-- | ui/app/config.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index 6552e7f5c..a39646f33 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -628,6 +628,7 @@ function markAccountsFound() { function setRpcTarget (newRpc) { if (global.METAMASK_DEBUG) console.log(`background.setRpcTarget`) background.setRpcTarget(newRpc) + background.addToFrequentRpcList(newRpc) return { type: actions.SET_RPC_TARGET, value: newRpc, diff --git a/ui/app/config.js b/ui/app/config.js index 65b1ed712..00a4cba88 100644 --- a/ui/app/config.js +++ b/ui/app/config.js @@ -5,6 +5,7 @@ const connect = require('react-redux').connect const actions = require('./actions') const currencies = require('./conversion.json').rows const validUrl = require('valid-url') + module.exports = connect(mapStateToProps)(ConfigScreen) function mapStateToProps (state) { |