Skip to content

Commit a9bb9d3

Browse files
authored
Merge pull request reduxjs#747 from shanky061/patch-1
minor typo in api.md
2 parents 1a39f71 + e385ee7 commit a9bb9d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ function selectorFactory(dispatch) {
374374
const actions = bindActionCreators(actionCreators, dispatch)
375375
const addTodo = (text) => actions.addTodo(ownProps.userId, text)
376376
return (nextState, nextOwnProps) => {
377-
const todos = nextState.todos[nextProps.userId]
377+
const todos = nextState.todos[nextOwnProps.userId]
378378
const nextResult = { ...nextOwnProps, todos, addTodo }
379379
ownProps = nextOwnProps
380380
if (!shallowEqual(result, nextResult)) result = nextResult

0 commit comments

Comments
 (0)