From dc95517d543a9d971d5f52037a8c0a8babbbfb7c Mon Sep 17 00:00:00 2001 From: Alexey Padalko Date: Fri, 11 Oct 2019 00:17:48 +0300 Subject: [PATCH] refactor: make account a persistent reducer --- renderer/reducers/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderer/reducers/index.js b/renderer/reducers/index.js index f9f4041d934..dc8d128147c 100644 --- a/renderer/reducers/index.js +++ b/renderer/reducers/index.js @@ -67,7 +67,7 @@ const appReducer = combineReducers({ export default (state, action) => { // Reset all reducers, except for selected reducers which should persist. if (action.type === 'RESET_APP') { - const { app, settings, intl, theme, wallet, lnd, neutrino, ticker } = state + const { account, app, settings, intl, theme, wallet, lnd, neutrino, ticker } = state return appReducer( { account, app, settings, intl, theme, wallet, lnd, neutrino, ticker }, action