Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
refactor: make account a persistent reducer
Browse files Browse the repository at this point in the history
  • Loading branch information
korhaliv committed Oct 11, 2019
1 parent 404036a commit dc95517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderer/reducers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc95517

Please sign in to comment.