mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Remove logging. Clean up duplicate entries in currency list.
This commit is contained in:
parent
6e51a5aa75
commit
58e3042a3b
@ -271,7 +271,6 @@ module.exports = class MetamaskController {
|
|||||||
clearInterval(this.conversionInterval)
|
clearInterval(this.conversionInterval)
|
||||||
}
|
}
|
||||||
this.conversionInterval = setInterval(() => {
|
this.conversionInterval = setInterval(() => {
|
||||||
console.log('started update conversion rate.')
|
|
||||||
this.configManager.updateConversionRate()
|
this.configManager.updateConversionRate()
|
||||||
}, 300000)
|
}, 300000)
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@ const h = require('react-hyperscript')
|
|||||||
const connect = require('react-redux').connect
|
const connect = require('react-redux').connect
|
||||||
const actions = require('./actions')
|
const actions = require('./actions')
|
||||||
const currencies = require('./conversion-util').availableCurrencies.rows
|
const currencies = require('./conversion-util').availableCurrencies.rows
|
||||||
// const Select = require('react-select')
|
const Select = require('react-select')
|
||||||
|
|
||||||
module.exports = connect(mapStateToProps)(ConfigScreen)
|
module.exports = connect(mapStateToProps)(ConfigScreen)
|
||||||
|
|
||||||
@ -112,7 +112,6 @@ function currentConversionInformation (metamaskState, state) {
|
|||||||
var newFiat = element.value
|
var newFiat = element.value
|
||||||
state.dispatch(actions.setCurrentFiat(newFiat))
|
state.dispatch(actions.setCurrentFiat(newFiat))
|
||||||
},
|
},
|
||||||
value: currentFiat,
|
|
||||||
defaultValue: currentFiat,
|
defaultValue: currentFiat,
|
||||||
}, currencies.map((currency) => {
|
}, currencies.map((currency) => {
|
||||||
return h('option', {key: currency.code, value: currency.code}, `${currency.code} - ${currency.name}`)
|
return h('option', {key: currency.code, value: currency.code}, `${currency.code} - ${currency.name}`)
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user