Skip to content

Commit

Permalink
refactor(with-indexeddb): rename methods
Browse files Browse the repository at this point in the history
  • Loading branch information
mzkmnk committed Jan 22, 2025
1 parent af02b32 commit 00b86c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libs/ngrx-toolkit/src/lib/storageSync/with-storage-sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,7 @@ export function withStorageSync<
patchState(store, parse(stateString));
}
},
/**
* Writes selected portion to storage.
*/
/**Writes selected portion to storage.*/
writeToStorage(): void {
const slicedState = select(getState(store) as State);
storage.setItem(key, stringify(slicedState));
Expand Down

0 comments on commit 00b86c3

Please sign in to comment.