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.
2 parents dbf370e + eb9cd19 commit 7677804Copy full SHA for 7677804
docs/introduction/CoreConcepts.md
@@ -45,7 +45,7 @@ function todos(state = [], action) {
45
case 'ADD_TODO':
46
return state.concat([{ text: action.text, completed: false }]);
47
case 'TOGGLE_TODO':
48
- returns state.map((todo, index) =>
+ return state.map((todo, index) =>
49
action.index === index ?
50
{ text: todo.text, completed: !todo.completed } :
51
todo
0 commit comments