Skip to content

Commit 4173886

Browse files
committed
Minor fix
1 parent f9af2d7 commit 4173886

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reducers/todos.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ function todo(state, action) {
1919
switch (action.type) {
2020
case ADD_TODO:
2121
return {
22+
text: action.text,
2223
id: action.id,
23-
text: action.text
24+
relatedId: null
2425
}
2526
case EDIT_TODO:
2627
return {

0 commit comments

Comments
 (0)