mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Create default values for metamask state for conversion. Fix config files for ui dev.
This commit is contained in:
parent
92fb827923
commit
ccd85d19e3
File diff suppressed because one or more lines are too long
@ -1,5 +1,8 @@
|
|||||||
{
|
{
|
||||||
"metamask": {
|
"metamask": {
|
||||||
|
"currentFiat": "jpy",
|
||||||
|
"conversionRate": "N/A",
|
||||||
|
"conversionDate": "N/A",
|
||||||
"isInitialized": true,
|
"isInitialized": true,
|
||||||
"isUnlocked": true,
|
"isUnlocked": true,
|
||||||
"currentDomain": "example.com",
|
"currentDomain": "example.com",
|
||||||
@ -68,7 +71,7 @@
|
|||||||
"appState": {
|
"appState": {
|
||||||
"menuOpen": false,
|
"menuOpen": false,
|
||||||
"currentView": {
|
"currentView": {
|
||||||
"name": "accounts"
|
"name": "config"
|
||||||
},
|
},
|
||||||
"accountDetail": {
|
"accountDetail": {
|
||||||
"subview": "transactions",
|
"subview": "transactions",
|
||||||
|
@ -14,6 +14,9 @@ function reduceMetamask (state, action) {
|
|||||||
rpcTarget: 'https://rawtestrpc.metamask.io/',
|
rpcTarget: 'https://rawtestrpc.metamask.io/',
|
||||||
identities: {},
|
identities: {},
|
||||||
unconfTxs: {},
|
unconfTxs: {},
|
||||||
|
currentFiat: 'PENDING',
|
||||||
|
conversionRate: 'N/A',
|
||||||
|
conversionDate: 'N/A',
|
||||||
}, state.metamask)
|
}, state.metamask)
|
||||||
|
|
||||||
switch (action.type) {
|
switch (action.type) {
|
||||||
|
Loading…
Reference in New Issue
Block a user