diff options
author | Dan <danjm.com@gmail.com> | 2017-08-30 10:38:35 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-08 01:25:56 +0800 |
commit | aa60944e30b7d1d9680b5ca53e8b61a8edb47904 (patch) | |
tree | e25ee3685a9afc0870b9c089c0bf11c49975ada6 | |
parent | b670c8074e8d1ae1c1dad49ad4c411277f82105d (diff) | |
download | tangerine-wallet-browser-aa60944e30b7d1d9680b5ca53e8b61a8edb47904.tar tangerine-wallet-browser-aa60944e30b7d1d9680b5ca53e8b61a8edb47904.tar.gz tangerine-wallet-browser-aa60944e30b7d1d9680b5ca53e8b61a8edb47904.tar.bz2 tangerine-wallet-browser-aa60944e30b7d1d9680b5ca53e8b61a8edb47904.tar.lz tangerine-wallet-browser-aa60944e30b7d1d9680b5ca53e8b61a8edb47904.tar.xz tangerine-wallet-browser-aa60944e30b7d1d9680b5ca53e8b61a8edb47904.tar.zst tangerine-wallet-browser-aa60944e30b7d1d9680b5ca53e8b61a8edb47904.zip |
Remove default to confirm screen on login.
-rw-r--r-- | ui/app/reducers/app.js | 4 | ||||
-rw-r--r-- | ui/index.js | 6 |
2 files changed, 0 insertions, 10 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js index f444aaf38..b2e5543ea 100644 --- a/ui/app/reducers/app.js +++ b/ui/app/reducers/app.js @@ -14,10 +14,6 @@ function reduceApp (state, action) { if (selectedAddress) { name = 'accountDetail' } - if (hasUnconfActions) { - log.debug('pending txs detected, defaulting to conf-tx view.') - name = 'confTx' - } var defaultView = { name, diff --git a/ui/index.js b/ui/index.js index a729138d3..f748c1ea2 100644 --- a/ui/index.js +++ b/ui/index.js @@ -36,12 +36,6 @@ function startApp (metamaskState, accountManager, opts) { networkVersion: opts.networkVersion, }) - // if unconfirmed txs, start on txConf page - const unapprovedTxsAll = txHelper(metamaskState.unapprovedTxs, metamaskState.unapprovedMsgs, metamaskState.unapprovedPersonalMsgs, metamaskState.network) - if (unapprovedTxsAll.length > 0) { - store.dispatch(actions.showConfTxPage()) - } - accountManager.on('update', function (metamaskState) { store.dispatch(actions.updateMetamaskState(metamaskState)) }) |