diff --git a/src/App.tsx b/src/App.tsx index b51f9626f..f222e165d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -203,7 +203,6 @@ export const App: React.FC = () => { void; onDelete: (todoId: number) => void; onUpdate: (todo: Todo) => Promise; @@ -17,7 +16,6 @@ type Props = { }; export const Todolist: React.FC = ({ - todos, onDelete, onUpdate, deletingId, @@ -28,7 +26,7 @@ export const Todolist: React.FC = ({ }) => { return (
- {todos.map(todo => ( + {filteredTodos.map(todo => (