Skip to content

Commit 102dedb

Browse files
authored
Update react-redux-connect.js
1 parent 078ad24 commit 102dedb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react-redux-connect.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import React,{Component} from "react";
44

5-
const connect = (ChildComponent, mapStateToProps, mapDispatchToProps) => {
5+
const connect = (mapStateToProps, mapDispatchToProps) => (ChildComponent) => {
66

77
return class Container extends Component{
88

0 commit comments

Comments
 (0)