fix component name

This commit is contained in:
Scott Simpson 2016-09-20 09:53:25 -07:00 committed by GitHub
parent b8398544a0
commit 3f70d20bb1

View file

@ -228,7 +228,7 @@ m(BetterHeader, {
})
// clearer consumption use case
m(Header, {
m(BetterHeader, {
title: [
m("h1", "My title"),
m("small", "A small note"),
@ -266,4 +266,4 @@ var Component = {
m.render(document.body, m(Component, {greeting: "hello"}))
// caling a second time does not modify DOM
m.render(document.body, m(Component, {greeting: "hello"}))
```
```