Skip to content

Commit

Permalink
docs: Fix typo in redux guide
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker committed Sep 27, 2023
1 parent 1513ef8 commit 2429966
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/core/guides/redux.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const selector = state => state;

// managers optionally provide initialization subroutine
for (const manager of [networkManager, subscriptionManager]) {
managers[i].init?.(selector(store.getState()));
manager.init?.(selector(store.getState()));
}

ReactDOM.render(
Expand Down Expand Up @@ -139,7 +139,7 @@ const selector = state => state;

// managers optionally provide initialization subroutine
for (const manager of [networkManager, subscriptionManager]) {
managers[i].init?.(selector(store.getState()));
manager.init?.(selector(store.getState()));
}

ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion packages/rest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const deleteTodo = data => ctrl.fetch(TodoResource.delete, { id });

```tsx
const queryRemainingTodos = new Query(
TodoResource.getList,
TodoResource.getList.schema,
(entries) => entries.filter((todo) => !todo.completed).length,
);

Expand Down

0 comments on commit 2429966

Please sign in to comment.