fix typo
This commit is contained in:
parent
9d4bb1291e
commit
a7f8018df9
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ m.route(document.body, "/", {
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
There are a few difference between this example and the one before. Here, `Data.todos.list` is `null` at the beginning. Also, there's an extra field `error` for holding an error message, and the view of the `Todos` component was modified to displays an error message if one exists, or display a loading icon if `Data.todos.list` is not an array.
|
There are a few differences between this example and the one before. Here, `Data.todos.list` is `null` at the beginning. Also, there's an extra field `error` for holding an error message, and the view of the `Todos` component was modified to displays an error message if one exists, or display a loading icon if `Data.todos.list` is not an array.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue