mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
Holding off on select formatting for now. Renamed keys for options.
This commit is contained in:
parent
ccd85d19e3
commit
be76b05726
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"metamask": {
|
||||
"currentFiat": "jpy",
|
||||
"currentFiat": "JPY",
|
||||
"conversionRate": "N/A",
|
||||
"conversionDate": "N/A",
|
||||
"isInitialized": true,
|
||||
|
@ -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'),
|
||||
]
|
||||
),
|
||||
]
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user