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:
parent
d2bd5687e8
commit
be2254b880
@ -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'
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,7 @@ const {
|
||||
} = require('../../token-util')
|
||||
|
||||
const { MIN_GAS_PRICE_HEX } = require('../send/send-constants')
|
||||
//
|
||||
|
||||
const {
|
||||
getTokenExchangeRate,
|
||||
getSelectedAddress,
|
||||
|
@ -10,7 +10,7 @@ inherits(CurrencyDisplay, Component)
|
||||
function CurrencyDisplay () {
|
||||
Component.call(this)
|
||||
}
|
||||
//
|
||||
|
||||
function toHexWei (value) {
|
||||
return conversionUtil(value, {
|
||||
fromNumericBase: 'dec',
|
||||
|
Loading…
Reference in New Issue
Block a user