wallet server preference defaults
This commit is contained in:
parent
3c739719b4
commit
36ffbe6322
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ export function doClearDaemonSetting(key) {
|
|||
if (Object.values(SHARED_PREFERENCES).includes(key)) {
|
||||
dispatch({
|
||||
type: ACTIONS.SHARED_PREFERENCE_SET,
|
||||
data: { key: key, value: undefined },
|
||||
data: { key: key, value: null },
|
||||
});
|
||||
}
|
||||
if (key === SHARED_PREFERENCES.WALLET_SERVERS) {
|
||||
|
|
|
@ -10,7 +10,7 @@ const defaultState = {
|
|||
loadedLanguages: [...Object.keys(window.i18n_messages), 'en'] || ['en'],
|
||||
customWalletServers: [],
|
||||
sharedPreferences: {
|
||||
[SHARED_PREFERENCES.WALLET_SERVERS]: false,
|
||||
[SHARED_PREFERENCES.WALLET_SERVERS]: [],
|
||||
},
|
||||
daemonSettings: {},
|
||||
daemonStatus: {},
|
||||
|
|
Loading…
Reference in a new issue