fix typo
This commit is contained in:
parent
6284a3bd86
commit
db0063362c
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ Components can be used by using a convention of uppercasing the first letter of
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
m.mount(document.body, <MyComponent />)
|
m.mount(document.body, <MyComponent />)
|
||||||
// equivalent to m.mount(document.body, m(Component))
|
// equivalent to m.mount(document.body, m(MyComponent))
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue