diff options
author | Kevin Serrano <kevin.serrano@consensys.net> | 2017-08-30 07:36:05 +0800 |
---|---|---|
committer | Kevin Serrano <kevin.serrano@consensys.net> | 2017-08-30 07:36:05 +0800 |
commit | 056276af02c5717684e36eeeaf6a8787ea4a39e6 (patch) | |
tree | e7acecefaa74e87925a7d186cb9325ddc80237c1 /ui/app/config.js | |
parent | 34b327caf07cd395229806cedecdeb770c034562 (diff) | |
download | tangerine-wallet-browser-056276af02c5717684e36eeeaf6a8787ea4a39e6.tar tangerine-wallet-browser-056276af02c5717684e36eeeaf6a8787ea4a39e6.tar.gz tangerine-wallet-browser-056276af02c5717684e36eeeaf6a8787ea4a39e6.tar.bz2 tangerine-wallet-browser-056276af02c5717684e36eeeaf6a8787ea4a39e6.tar.lz tangerine-wallet-browser-056276af02c5717684e36eeeaf6a8787ea4a39e6.tar.xz tangerine-wallet-browser-056276af02c5717684e36eeeaf6a8787ea4a39e6.tar.zst tangerine-wallet-browser-056276af02c5717684e36eeeaf6a8787ea4a39e6.zip |
integrate infura currency
Diffstat (limited to 'ui/app/config.js')
-rw-r--r-- | ui/app/config.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/config.js b/ui/app/config.js index 62785c49b..c6d9c3e5d 100644 --- a/ui/app/config.js +++ b/ui/app/config.js @@ -3,7 +3,7 @@ const Component = require('react').Component const h = require('react-hyperscript') const connect = require('react-redux').connect const actions = require('./actions') -const currencies = require('./conversion.json').rows +const infuraCurrencies = require('./infura-conversion.json').symbols const validUrl = require('valid-url') const copyToClipboard = require('copy-to-clipboard') @@ -166,8 +166,8 @@ function currentConversionInformation (metamaskState, state) { state.dispatch(actions.setCurrentCurrency(newCurrency)) }, defaultValue: currentCurrency, - }, currencies.map((currency) => { - return h('option', {key: currency.code, value: currency.code}, `${currency.code} - ${currency.name}`) + }, infuraCurrencies.map((currency) => { + return h('option', {key: currency, value: currency}, currency) }) ), ]) |