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

an unnecessary argument in applyMiddleware.js #2131

Closed
HQidea opened this issue Nov 30, 2016 · 1 comment
Closed

an unnecessary argument in applyMiddleware.js #2131

HQidea opened this issue Nov 30, 2016 · 1 comment

Comments

@HQidea
Copy link

HQidea commented Nov 30, 2016

Since there is no enhancer argument passed to an enhancer, so this argument can be omitted.

see: https://github.com/reactjs/redux/blob/master/src/applyMiddleware.js#L20

If this is ok, I'll send a pr later.

@jimbolla
Copy link
Contributor

Duplicate: #2128 (comment)

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

2 participants