fix for settings not being persisted in store
This commit is contained in:
parent
76dee67e9a
commit
c0818b056d
1 changed files with 1 additions and 4 deletions
|
@ -2,10 +2,7 @@ import { ACTIONS } from 'lbry-redux';
|
||||||
|
|
||||||
const reducers = {};
|
const reducers = {};
|
||||||
const defaultState = {
|
const defaultState = {
|
||||||
clientSettings: {
|
clientSettings: {}
|
||||||
keepDaemonRunning: true,
|
|
||||||
showNsfw: false
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
reducers[ACTIONS.CLIENT_SETTING_CHANGED] = (state, action) => {
|
reducers[ACTIONS.CLIENT_SETTING_CHANGED] = (state, action) => {
|
||||||
|
|
Loading…
Reference in a new issue