mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +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": {
|
"metamask": {
|
||||||
"currentFiat": "jpy",
|
"currentFiat": "JPY",
|
||||||
"conversionRate": "N/A",
|
"conversionRate": "N/A",
|
||||||
"conversionDate": "N/A",
|
"conversionDate": "N/A",
|
||||||
"isInitialized": true,
|
"isInitialized": true,
|
||||||
|
@ -3,7 +3,7 @@ const Component = require('react').Component
|
|||||||
const h = require('react-hyperscript')
|
const h = require('react-hyperscript')
|
||||||
const connect = require('react-redux').connect
|
const connect = require('react-redux').connect
|
||||||
const actions = require('./actions')
|
const actions = require('./actions')
|
||||||
const select = require('react-select')
|
const Select = require('react-select')
|
||||||
|
|
||||||
module.exports = connect(mapStateToProps)(ConfigScreen)
|
module.exports = connect(mapStateToProps)(ConfigScreen)
|
||||||
|
|
||||||
@ -114,9 +114,9 @@ function currentConversionInformation (metamaskState, state) {
|
|||||||
value: currentFiat,
|
value: currentFiat,
|
||||||
defaultValue: currentFiat,
|
defaultValue: currentFiat,
|
||||||
}, [
|
}, [
|
||||||
h('option', {key: 'usd', value: 'usd'}, 'usd'),
|
h('option', {key: 'USD', value: 'USD'}, 'USD'),
|
||||||
h('option', {key: 'eur', value: 'eur'}, 'eur'),
|
h('option', {key: 'EUR', value: 'EUR'}, 'EUR'),
|
||||||
h('option', {key: 'jpy', value: 'jpy'}, 'jpy'),
|
h('option', {key: 'JPY', value: 'JPY'}, 'JPY'),
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
@ -14,7 +14,7 @@ function reduceMetamask (state, action) {
|
|||||||
rpcTarget: 'https://rawtestrpc.metamask.io/',
|
rpcTarget: 'https://rawtestrpc.metamask.io/',
|
||||||
identities: {},
|
identities: {},
|
||||||
unconfTxs: {},
|
unconfTxs: {},
|
||||||
currentFiat: 'PENDING',
|
currentFiat: 'USD',
|
||||||
conversionRate: 'N/A',
|
conversionRate: 'N/A',
|
||||||
conversionDate: 'N/A',
|
conversionDate: 'N/A',
|
||||||
}, state.metamask)
|
}, state.metamask)
|
||||||
|
Loading…
Reference in New Issue
Block a user