Close <section> tag in sample markup
Adam Mark committed
Aug 11, 2014 at 12:13 UTC
77d7b4928e47daba339a680ef24eabdf8c7dbcb4
1 file changed
+2
-1
docs/docs/flux-todo-list.md
+2
-1
@@ -325,7 +325,8 @@ for (var key in allTodos) {
325
326
return (
327
<section id="main">
328
- <ul id="todo-list">{todos}</ul>
328
+ <ul id="todo-list">{todos}</ul>
329
+ </section>
330
);
331
```
332
Now each TodoItem can display it's own text, and perform actions utilizing it's own ID. Explaining all the different actions that a TodoItem can invoke in the TodoMVC example goes beyond the scope of this article, but let's just take a look at the action that deletes one of the to-do items. Here is an abbreviated version of the TodoItem: