diff --git a/ui/redux/actions/settings.js b/ui/redux/actions/settings.js index cfca43f60..7cfe5c5f6 100644 --- a/ui/redux/actions/settings.js +++ b/ui/redux/actions/settings.js @@ -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) { diff --git a/ui/redux/reducers/settings.js b/ui/redux/reducers/settings.js index 78fe4f623..65baba55a 100644 --- a/ui/redux/reducers/settings.js +++ b/ui/redux/reducers/settings.js @@ -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: {},