aboutsummaryrefslogtreecommitdiff
path: root/src/App.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/App.jsx')
-rw-r--r--src/App.jsx10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/App.jsx b/src/App.jsx
index 87aa833..9ef710e 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -5,7 +5,6 @@ import { ListToDos } from "./ToDo-UI/ListToDo";
import { useDispatch, useSelector } from "react-redux";
import {
- set_last_id,
select_current_filters,
select_current_sorting,
select_current_page,
@@ -22,15 +21,6 @@ function App() {
const my_curr_page = useSelector(select_current_page);
refresh_todos(my_filters, my_sorters, my_curr_page, dispatch);
- // Finally, retrieve the last index used for a to do.
- const last_id_api = get_last_id_function();
- last_id_api((response) => {
- dispatch(
- set_last_id({
- id: response,
- })
- );
- });
return (
<div>