We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a39f71 commit e385ee7Copy full SHA for e385ee7
docs/api.md
@@ -374,7 +374,7 @@ function selectorFactory(dispatch) {
374
const actions = bindActionCreators(actionCreators, dispatch)
375
const addTodo = (text) => actions.addTodo(ownProps.userId, text)
376
return (nextState, nextOwnProps) => {
377
- const todos = nextState.todos[nextProps.userId]
+ const todos = nextState.todos[nextOwnProps.userId]
378
const nextResult = { ...nextOwnProps, todos, addTodo }
379
ownProps = nextOwnProps
380
if (!shallowEqual(result, nextResult)) result = nextResult
0 commit comments