diff options
Require loglevel singleton in each module that uses it
Diffstat (limited to 'ui/index.js')
-rw-r--r-- | ui/index.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/index.js b/ui/index.js index 746e28eab..7b6faac76 100644 --- a/ui/index.js +++ b/ui/index.js @@ -6,8 +6,7 @@ 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/config').enums - -global.log = require('loglevel') +const log = require('loglevel') module.exports = launchMetamaskUi |