Skip to content

Commit ecb1bb4

Browse files
committed
Merge pull request reduxjs#831 from gsklee/patch-3
Update applyMiddleware.md
2 parents e097160 + 0beb85a commit ecb1bb4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/api/applyMiddleware.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,10 @@ class SandwichShop extends Component {
206206
}
207207

208208
export default connect(
209-
SandwichShop,
210209
state => ({
211210
sandwiches: state.sandwiches
212211
})
213-
);
212+
)(SandwichShop);
214213
```
215214

216215
#### Tips

0 commit comments

Comments
 (0)