mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +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": {
|
||||
"currentFiat": "jpy",
|
||||
"conversionRate": "N/A",
|
||||
"conversionDate": "N/A",
|
||||
"isInitialized": true,
|
||||
"isUnlocked": true,
|
||||
"currentDomain": "example.com",
|
||||
@ -68,7 +71,7 @@
|
||||
"appState": {
|
||||
"menuOpen": false,
|
||||
"currentView": {
|
||||
"name": "accounts"
|
||||
"name": "config"
|
||||
},
|
||||
"accountDetail": {
|
||||
"subview": "transactions",
|
||||
@ -82,4 +85,4 @@
|
||||
"scrollToBottom": true
|
||||
},
|
||||
"identities": {}
|
||||
}
|
||||
}
|
||||
|
@ -14,6 +14,9 @@ function reduceMetamask (state, action) {
|
||||
rpcTarget: 'https://rawtestrpc.metamask.io/',
|
||||
identities: {},
|
||||
unconfTxs: {},
|
||||
currentFiat: 'PENDING',
|
||||
conversionRate: 'N/A',
|
||||
conversionDate: 'N/A',
|
||||
}, state.metamask)
|
||||
|
||||
switch (action.type) {
|
||||
|
Loading…
Reference in New Issue
Block a user