From 8e274132e60b21277506df3c7b47e5f75518fb32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Oliva?= Date: Thu, 18 May 2023 13:59:48 -0600 Subject: Added remove action. --- src/ToDo.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/ToDo.jsx') diff --git a/src/ToDo.jsx b/src/ToDo.jsx index 1dbfad7..3644db3 100644 --- a/src/ToDo.jsx +++ b/src/ToDo.jsx @@ -3,6 +3,7 @@ import { useSelector, useDispatch } from "react-redux"; import { add_todo, change_done, + remove_todo, select_todos, select_last_index, } from "./features/todo/reducer"; @@ -241,7 +242,9 @@ export function ListToDos() { -- cgit v1.2.3