Skip to content

Commit

Permalink
Fix in src/ReduxedStorage.ts:
Browse files Browse the repository at this point in the history
roll back mergeOrReplace() usage change in _renewStore()
  • Loading branch information
hindmost committed Oct 12, 2022
1 parent 1fc57b8 commit 30e80ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ReduxedStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export default class ReduxedStorage<
const diff = diffDeep(state, state0);
if (typeof diff === 'undefined')
return;
this._setState(mergeOrReplace(this.state, diff, true));
this._setState(mergeOrReplace(this.state, diff));
this._renewStore();
}
this._send2Storage();
Expand Down

0 comments on commit 30e80ff

Please sign in to comment.