diff --git a/client/store/todo/todoSlice.js b/client/store/todo/todoSlice.js index 9410198..2c9388b 100644 --- a/client/store/todo/todoSlice.js +++ b/client/store/todo/todoSlice.js @@ -143,6 +143,7 @@ const todoSlice = createSlice({ state.loading = 'idle' state.currentRequestId = undefined state.todo = action.payload + todosAdapter.setOne(state, action.payload) } })