diff options
Diffstat (limited to 'ui/index.js')
-rw-r--r-- | ui/index.js | 7 |
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)) }) |