Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: o is not a function #5

Closed
lanzosuarez opened this issue May 7, 2018 · 1 comment
Closed

Uncaught TypeError: o is not a function #5

lanzosuarez opened this issue May 7, 2018 · 1 comment

Comments

@lanzosuarez
Copy link

Using connect in my component throw this error

export default connect(["customers"])(Customers);

@nlucero
Copy link

nlucero commented May 9, 2018

I was having the same issue. I think this project is using an old/deprecated version of react-waterfall (which I guess by that time was called react-stateful) and passing an array to connect is no longer valid.

Try this:

export default connect(({ customers }) => ({ customers }))(Customers);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants