aboutsummaryrefslogtreecommitdiffstats
path: root/ui/index.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-05-03 09:23:55 +0800
committerkumavis <aaron@kumavis.me>2018-05-03 09:23:55 +0800
commita1d13d45cf7451162b071e5507f1e31b12574e6e (patch)
tree0ee394e7d6e07cef4dc1c2f62f5c58b18922b034 /ui/index.js
parentd2aa36f866ae25b2facb90583d552097a80d42b3 (diff)
downloadtangerine-wallet-browser-a1d13d45cf7451162b071e5507f1e31b12574e6e.tar
tangerine-wallet-browser-a1d13d45cf7451162b071e5507f1e31b12574e6e.tar.gz
tangerine-wallet-browser-a1d13d45cf7451162b071e5507f1e31b12574e6e.tar.bz2
tangerine-wallet-browser-a1d13d45cf7451162b071e5507f1e31b12574e6e.tar.lz
tangerine-wallet-browser-a1d13d45cf7451162b071e5507f1e31b12574e6e.tar.xz
tangerine-wallet-browser-a1d13d45cf7451162b071e5507f1e31b12574e6e.tar.zst
tangerine-wallet-browser-a1d13d45cf7451162b071e5507f1e31b12574e6e.zip
lint - cleanup some unused variables
Diffstat (limited to 'ui/index.js')
-rw-r--r--ui/index.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/ui/index.js b/ui/index.js
index d7cedd12d..bd9ecc28b 100644
--- a/ui/index.js
+++ b/ui/index.js
@@ -5,11 +5,6 @@ const actions = require('./app/actions')
const configureStore = require('./app/store')
const txHelper = require('./lib/tx-helper')
const { fetchLocale } = require('./i18n-helper')
-const {
- OLD_UI_NETWORK_TYPE,
- BETA_UI_NETWORK_TYPE,
-} = require('../app/scripts/controllers/network/enums')
-
const log = require('loglevel')
module.exports = launchMetamaskUi
@@ -55,9 +50,6 @@ async function startApp (metamaskState, accountManager, opts) {
networkVersion: opts.networkVersion,
})
- const useBetaUi = metamaskState.featureFlags.betaUI
- const networkEndpointType = useBetaUi ? BETA_UI_NETWORK_TYPE : OLD_UI_NETWORK_TYPE
-
// if unconfirmed txs, start on txConf page
const unapprovedTxsAll = txHelper(metamaskState.unapprovedTxs, metamaskState.unapprovedMsgs, metamaskState.unapprovedPersonalMsgs, metamaskState.unapprovedTypedMessages, metamaskState.network)
const numberOfUnapprivedTx = unapprovedTxsAll.length