Skip to content

Commit

Permalink
Merge pull request #2144 from jongar/patch-1
Browse files Browse the repository at this point in the history
Code typo: returns => return
  • Loading branch information
markerikson authored Dec 9, 2016
2 parents dbf370e + eb9cd19 commit 7677804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/introduction/CoreConcepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function todos(state = [], action) {
case 'ADD_TODO':
return state.concat([{ text: action.text, completed: false }]);
case 'TOGGLE_TODO':
returns state.map((todo, index) =>
return state.map((todo, index) =>
action.index === index ?
{ text: todo.text, completed: !todo.completed } :
todo
Expand Down

0 comments on commit 7677804

Please sign in to comment.