Skip to content

Commit 27205e5

Browse files
committed
Tweak immutable middleware docs typos
1 parent 04c145a commit 27205e5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docs/api/getDefaultMiddleware.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ provide runtime checks for two common issues:
5858
- [`immutable-state-invariant`](./otherExports.md#createimmutablestateinvariantmiddleware): deeply compares
5959
state values for mutations. It can detect mutations in reducers during a dispatch, and also mutations that occur between
6060
dispatches (such as in a component or a selector). When a mutation is detected, it will throw an error and indicate the key
61-
path for where the mutated value was detected in the state tree.
62-
63-
Forked from [`redux-immutable-state-invariant`](https://github.com/leoasis/redux-immutable-state-invariant)
61+
path for where the mutated value was detected in the state tree. (Forked from [`redux-immutable-state-invariant`](https://github.com/leoasis/redux-immutable-state-invariant).)
6462

6563
- [`serializable-state-invariant-middleware`](./otherExports.md#createserializablestateinvariantmiddleware): a custom middleware created specifically for use in Redux Toolkit. Similar in
6664
concept to `immutable-state-invariant`, but deeply checks your state tree and your actions for non-serializable values

docs/api/otherExports.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Redux Toolkit exports some of its internal utilities, and re-exports additional
1111

1212
## Internal Exports
1313

14-
### `createImmutalStateInvariantMiddleware`
14+
### `createImmutableStateInvariantMiddleware`
1515

1616
Creates an instance of the `immutable-state-invariant` middleware described in [`getDefaultMiddleware`](./getDefaultMiddleware.md).
1717

0 commit comments

Comments
 (0)