step7 start

This commit is contained in:
Micah Godbolt
2019-02-23 11:44:48 -08:00
parent 0e32d960be
commit 92ee8b020f
9 changed files with 246 additions and 22 deletions

View File

@@ -11,7 +11,7 @@ export class TodoList extends React.Component<any, any> {
return (
<ul className="todos">
{filteredTodos.map(id => (
<TodoListItem key={id} {...todos[id]} />
<TodoListItem key={id} id={id} {...todos[id]} />
))}
</ul>
);