Browse Source

refactor: use set method instead of the patch in reset method of internal strore

pull/6626/head
mehmet-erim 6 years ago
parent
commit
020b0dd862
  1. 2
      npm/ng-packs/packages/core/src/lib/utils/internal-store-utils.ts

2
npm/ng-packs/packages/core/src/lib/utils/internal-store-utils.ts

@ -36,6 +36,6 @@ export class InternalStore<State> {
}
reset() {
this.patch(this.initialState);
this.set(this.initialState);
}
}

Loading…
Cancel
Save