1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00

Remove logging. Clean up duplicate entries in currency list.

This commit is contained in:
Kevin Serrano 2016-08-16 13:21:16 -07:00
parent 6e51a5aa75
commit 58e3042a3b
3 changed files with 2 additions and 4 deletions

View File

@ -271,7 +271,6 @@ module.exports = class MetamaskController {
clearInterval(this.conversionInterval)
}
this.conversionInterval = setInterval(() => {
console.log('started update conversion rate.')
this.configManager.updateConversionRate()
}, 300000)
}

View File

@ -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