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) {
111111export default connect (
112112 mapStateToProps,
113113 mapDispatchToProps
114- )(CounterContainer );
114+ )(Counter );
115115
116116// You can also pass an object instead of defining `mapDispatchToProps`:
117- // export default connect(mapStateToProps, CounterActionCreators)(CounterContainer );
117+ // export default connect(mapStateToProps, CounterActionCreators)(Counter );
118118
119119// 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 );
121121
122122// See more recipes in detailed connect() examples below.
123123```
You can’t perform that action at this time.
0 commit comments