diff --git a/reducers/todos.js b/reducers/todos.js index 97ecc5f..6f95f94 100644 --- a/reducers/todos.js +++ b/reducers/todos.js @@ -19,8 +19,9 @@ function todo(state, action) { switch (action.type) { case ADD_TODO: return { + text: action.text, id: action.id, - text: action.text + relatedId: null } case EDIT_TODO: return {