mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 20:39:08 +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)
|
||||
}
|
||||
this.conversionInterval = setInterval(() => {
|
||||
console.log('started update conversion rate.')
|
||||
this.configManager.updateConversionRate()
|
||||
}, 300000)
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ const h = require('react-hyperscript')
|
||||
const connect = require('react-redux').connect
|
||||
const actions = require('./actions')
|
||||
const currencies = require('./conversion-util').availableCurrencies.rows
|
||||
// const Select = require('react-select')
|
||||
const Select = require('react-select')
|
||||
|
||||
module.exports = connect(mapStateToProps)(ConfigScreen)
|
||||
|
||||
@ -112,7 +112,6 @@ function currentConversionInformation (metamaskState, state) {
|
||||
var newFiat = element.value
|
||||
state.dispatch(actions.setCurrentFiat(newFiat))
|
||||
},
|
||||
value: currentFiat,
|
||||
defaultValue: currentFiat,
|
||||
}, currencies.map((currency) => {
|
||||
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…
Reference in New Issue
Block a user