aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-08-05 14:27:30 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-08-05 14:27:30 +0800
commitbe76b05726a5431249ed651ff1282cc584b0724b (patch)
tree85d74e037b08eb2bc0bf69ce5b8373693307241c /ui
parentccd85d19e3c95322b7bd80f46ce4e81f3b82bf0c (diff)
downloadtangerine-wallet-browser-be76b05726a5431249ed651ff1282cc584b0724b.tar
tangerine-wallet-browser-be76b05726a5431249ed651ff1282cc584b0724b.tar.gz
tangerine-wallet-browser-be76b05726a5431249ed651ff1282cc584b0724b.tar.bz2
tangerine-wallet-browser-be76b05726a5431249ed651ff1282cc584b0724b.tar.lz
tangerine-wallet-browser-be76b05726a5431249ed651ff1282cc584b0724b.tar.xz
tangerine-wallet-browser-be76b05726a5431249ed651ff1282cc584b0724b.tar.zst
tangerine-wallet-browser-be76b05726a5431249ed651ff1282cc584b0724b.zip
Holding off on select formatting for now. Renamed keys for options.
Diffstat (limited to 'ui')
-rw-r--r--ui/app/config.js8
-rw-r--r--ui/app/reducers/metamask.js2
2 files changed, 5 insertions, 5 deletions
diff --git a/ui/app/config.js b/ui/app/config.js
index 5fac358b6..9178c199c 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 select = require('react-select')
+const Select = require('react-select')
module.exports = connect(mapStateToProps)(ConfigScreen)
@@ -114,9 +114,9 @@ function currentConversionInformation (metamaskState, state) {
value: currentFiat,
defaultValue: currentFiat,
}, [
- h('option', {key: 'usd', value: 'usd'}, 'usd'),
- h('option', {key: 'eur', value: 'eur'}, 'eur'),
- h('option', {key: 'jpy', value: 'jpy'}, 'jpy'),
+ h('option', {key: 'USD', value: 'USD'}, 'USD'),
+ h('option', {key: 'EUR', value: 'EUR'}, 'EUR'),
+ h('option', {key: 'JPY', value: 'JPY'}, 'JPY'),
]
),
]
diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js
index 100855ea1..a63de9005 100644
--- a/ui/app/reducers/metamask.js
+++ b/ui/app/reducers/metamask.js
@@ -14,7 +14,7 @@ function reduceMetamask (state, action) {
rpcTarget: 'https://rawtestrpc.metamask.io/',
identities: {},
unconfTxs: {},
- currentFiat: 'PENDING',
+ currentFiat: 'USD',
conversionRate: 'N/A',
conversionDate: 'N/A',
}, state.metamask)