Skip to content

Commit

Permalink
Fix code example (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianHarms authored and jorgebucaran committed Jan 29, 2018
1 parent 5cba88d commit b0ce980
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/hello-world.md
Expand Up @@ -116,8 +116,8 @@ import { h } from "hyperapp"
const view = (state, actions) => (
<main>
<h1>{state.count}</h1>
<button onclick={actions.down}>-</button>
<button onclick={actions.up}>+</button>
<button onclick={()=>actions.down(1)}>-</button>
<button onclick={()=>actions.up(1)}>+</button>
</main>
)
```
Expand Down

0 comments on commit b0ce980

Please sign in to comment.