diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-08-17 01:48:31 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-08-17 01:48:31 +0800 |
commit | 7d1b2db87e9d66735d0de04dc5e8c53e72e8431b (patch) | |
tree | 1152360fd3b9e17d379ecbc0595299c40eb3068a /ui/app/config.js | |
parent | 009784c79b5c0ebfd9dbe9536870c55e906e914d (diff) | |
download | tangerine-wallet-browser-7d1b2db87e9d66735d0de04dc5e8c53e72e8431b.tar tangerine-wallet-browser-7d1b2db87e9d66735d0de04dc5e8c53e72e8431b.tar.gz tangerine-wallet-browser-7d1b2db87e9d66735d0de04dc5e8c53e72e8431b.tar.bz2 tangerine-wallet-browser-7d1b2db87e9d66735d0de04dc5e8c53e72e8431b.tar.lz tangerine-wallet-browser-7d1b2db87e9d66735d0de04dc5e8c53e72e8431b.tar.xz tangerine-wallet-browser-7d1b2db87e9d66735d0de04dc5e8c53e72e8431b.tar.zst tangerine-wallet-browser-7d1b2db87e9d66735d0de04dc5e8c53e72e8431b.zip |
linting and ignoring.
Diffstat (limited to 'ui/app/config.js')
-rw-r--r-- | ui/app/config.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/app/config.js b/ui/app/config.js index 664bcd2a7..c86d377bb 100644 --- a/ui/app/config.js +++ b/ui/app/config.js @@ -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) @@ -103,27 +103,27 @@ ConfigScreen.prototype.render = function () { function currentConversionInformation (metamaskState, state) { var currentFiat = metamaskState.currentFiat - return h('div'), [ + return h('div', [ h('span', {style: { fontWeight: 'bold', paddingRight: '10px'}}, 'Current Conversion'), h('select#currentFiat', { onChange (event) { event.preventDefault() - var element = document.getElementById("currentFiat") + var element = document.getElementById('currentFiat') 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}`) - }) + return h('option', {key: currency.code, value: currency.code}, `${currency.code} - ${currency.name}`) + }) // [ // h('option', {key: 'USD', value: 'USD'}, 'USD'), // h('option', {key: 'EUR', value: 'EUR'}, 'EUR'), // h('option', {key: 'JPY', value: 'JPY'}, 'JPY'), // ] ), - ] + ]) } function currentProviderDisplay (metamaskState) { |