Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
heapwolf authored May 26, 2024
1 parent 5b18cf8 commit 37b1382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function MyGreeting () {

Or you can use classes. Every class must have a render method.

``js
```js
class MyGreeting extends Tonic {
async * render () {
yield this.html`<div>Loading...</div>`
Expand Down

0 comments on commit 37b1382

Please sign in to comment.