We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d537758 commit 779d689Copy full SHA for 779d689
modules/entity/src/unsorted_state_adapter.ts
@@ -132,8 +132,7 @@ export function createUnsortedStateAdapter<T>(selectId: IdSelector<T>): any {
132
const added: T[] = [];
133
const updated: any[] = [];
134
135
- for (let index in updates) {
136
- const update = updates[index];
+ for (const update of updates) {
137
if (update.id in state.entities) {
138
updated.push(update);
139
} else {
0 commit comments