diff --git a/src/apps/todo-state/state/todos.js b/src/apps/todo-state/state/todos.js index 2cf5156..d12f207 100644 --- a/src/apps/todo-state/state/todos.js +++ b/src/apps/todo-state/state/todos.js @@ -29,7 +29,7 @@ export default () => add({ state }, name) { state.todos.push({ name, - id: state.todos.length, + id: state.todos.length + 1, completed: false, }); },