diff --git a/src/features/todos/components/TodoList.tsx b/src/features/todos/components/TodoList.tsx index 5eff542..3c2a818 100644 --- a/src/features/todos/components/TodoList.tsx +++ b/src/features/todos/components/TodoList.tsx @@ -1,6 +1,6 @@ import type { FC } from 'react'; import { useAppSelector, useAppDispatch } from '../../../app/hooks'; -import { remove, selectTodos } from '../todosSlice'; +import { remove, update, selectTodos } from '../todosSlice'; export const TodoList: FC = () => { const todos = useAppSelector(selectTodos); @@ -43,7 +43,16 @@ export const TodoList: FC = () => {