File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -111,13 +111,13 @@ function mapDispatchToProps(dispatch) {
111
111
export default connect (
112
112
mapStateToProps,
113
113
mapDispatchToProps
114
- )(CounterContainer );
114
+ )(Counter );
115
115
116
116
// You can also pass an object instead of defining `mapDispatchToProps`:
117
- // export default connect(mapStateToProps, CounterActionCreators)(CounterContainer );
117
+ // export default connect(mapStateToProps, CounterActionCreators)(Counter );
118
118
119
119
// Or you can pass `dispatch` down as a prop if you omit `mapDispatchToProps`:
120
- // export default connect(mapStateToProps)(CounterContainer );
120
+ // export default connect(mapStateToProps)(Counter );
121
121
122
122
// See more recipes in detailed connect() examples below.
123
123
```
You can’t perform that action at this time.
0 commit comments