diff options
Diffstat (limited to 'src/features/todo')
-rw-r--r-- | src/features/todo/reducer.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/features/todo/reducer.js b/src/features/todo/reducer.js index 29422e9..e3e2470 100644 --- a/src/features/todo/reducer.js +++ b/src/features/todo/reducer.js @@ -28,5 +28,6 @@ export const todo_slice = createSlice({ export const { add_todo } = todo_slice.actions; export const select_todos = (state) => state.todo_list.todos; +export const select_last_index = (state) => state.todo_list.last_id; export default todo_slice.reducer; |