aboutsummaryrefslogtreecommitdiffstats
path: root/ui/index.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-06-22 04:56:04 +0800
committerDan Finlay <dan@danfinlay.com>2016-06-22 04:56:04 +0800
commit8fde8a8921135112ccfdd13ce6b009755b5f71ed (patch)
treecd4ceb1dcd74a601506f92e5669e3022ca800c0c /ui/index.js
parentab15b4c8259d6f6c5ae9d1e51548d73cfc1c67cb (diff)
downloadtangerine-wallet-browser-8fde8a8921135112ccfdd13ce6b009755b5f71ed.tar
tangerine-wallet-browser-8fde8a8921135112ccfdd13ce6b009755b5f71ed.tar.gz
tangerine-wallet-browser-8fde8a8921135112ccfdd13ce6b009755b5f71ed.tar.bz2
tangerine-wallet-browser-8fde8a8921135112ccfdd13ce6b009755b5f71ed.tar.lz
tangerine-wallet-browser-8fde8a8921135112ccfdd13ce6b009755b5f71ed.tar.xz
tangerine-wallet-browser-8fde8a8921135112ccfdd13ce6b009755b5f71ed.tar.zst
tangerine-wallet-browser-8fde8a8921135112ccfdd13ce6b009755b5f71ed.zip
Manually linted
Diffstat (limited to 'ui/index.js')
-rw-r--r--ui/index.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/ui/index.js b/ui/index.js
index 694a7164c..8cf74f6ee 100644
--- a/ui/index.js
+++ b/ui/index.js
@@ -1,7 +1,5 @@
-const React = require('react')
const render = require('react-dom').render
const h = require('react-hyperscript')
-const extend = require('xtend')
const Root = require('./app/root')
const actions = require('./app/actions')
const configureStore = require('./app/store')
@@ -40,11 +38,6 @@ function startApp (metamaskState, accountManager, opts) {
store.dispatch(actions.showConfTxPage())
}
- // if unconfirmed messages, start on msgConf page
- if (Object.keys(metamaskState.unconfMsgs || {}).length) {
- store.dispatch(actions.showConfTxPage())
- }
-
accountManager.on('update', function (metamaskState) {
store.dispatch(actions.updateMetamaskState(metamaskState))
})