diff options
Diffstat (limited to 'src/features/todo/reducer.js')
-rw-r--r-- | src/features/todo/reducer.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/features/todo/reducer.js b/src/features/todo/reducer.js index 8a2e9b8..edd2b73 100644 --- a/src/features/todo/reducer.js +++ b/src/features/todo/reducer.js @@ -53,7 +53,6 @@ export const todo_slice = createSlice({ creation_date: action.payload.creation_date, }, ]; - state.last_id++; } else { state.todos[selected_todo].text = action.payload.text; state.todos[selected_todo].due_date = action.payload.due_date; |