wallet server preference defaults

This commit is contained in:
jessop 2019-12-13 11:13:49 -05:00 committed by Sean Yesmunt
parent 3c739719b4
commit 36ffbe6322
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -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: {},