Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
harryhope committed Apr 19, 2020
1 parent 0514e60 commit 96815ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const App = props => {
const [value, updateValue] = useHookedOnState('app.counterValue', 0)
return (
<main>
<div><button onClick={() => updateValue(value -1)}>-</button></div>
<div><button onClick={() => updateValue(value - 1)}>-</button></div>
<div>{value}</div>
<div><button onClick={() => updateValue(value + 1)}>+</button></div>
</main>
Expand Down

0 comments on commit 96815ca

Please sign in to comment.