Skip to content

Commit 2d21a37

Browse files
authored
chore: remove note about mock store not supporting middleware
1 parent 8f2be22 commit 2d21a37

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,13 @@ function login(username, password) {
4242
}
4343

4444
// Side-effect: fetch orders asynchronously
45-
// This action could be dispatched from a middleware as well. See below.
45+
// This action could be dispatched from a middleware as well instead. See below.
4646
dispatch(fetchOrders());
4747
}
4848
}
4949

5050
const middlewares = [
5151
thunkMiddleware,
52-
// Middleware for real redux store. Mock store does not support middlewares.
5352
({ dispatch, getState }) => (next) => (action) => {
5453
const result = next(action);
5554

0 commit comments

Comments
 (0)