1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

Remove comments and console.logs

This commit is contained in:
Dan 2018-03-27 10:37:45 -02:30
parent d2bd5687e8
commit be2254b880
3 changed files with 3 additions and 4 deletions

View File

@ -9,9 +9,8 @@ async function getFirstPreferredLangCode () {
const userPreferredLocaleCodes = await promisify(
extension.i18n.getAcceptLanguages,
{ errorFirst: false }
)().catch(err => console.log('err123', err))
)()
const firstPreferredLangCode = userPreferredLocaleCodes.find(code => existingLocaleCodes.includes(code))
// const firstPreferredLangCode = userPreferredLocaleCodes[0]
return firstPreferredLangCode || 'en'
}

View File

@ -21,7 +21,7 @@ const {
} = require('../../token-util')
const { MIN_GAS_PRICE_HEX } = require('../send/send-constants')
//
const {
getTokenExchangeRate,
getSelectedAddress,

View File

@ -10,7 +10,7 @@ inherits(CurrencyDisplay, Component)
function CurrencyDisplay () {
Component.call(this)
}
//
function toHexWei (value) {
return conversionUtil(value, {
fromNumericBase: 'dec',