Skip to content

Commit

Permalink
example
Browse files Browse the repository at this point in the history
  • Loading branch information
Sliect committed Oct 30, 2020
1 parent c631226 commit 61e381c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion didact.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ const Didact = {
function Counter() {
const [state, setState] = Didact.useState(1)
return (
<h1 onClick={() => setState(c => c + 1)}>
<h1 style={{marginTop: '100px', textAlign: 'center'}} className={'foo bar'} onClick={() => setState(c => c + 1)}>
Count: {state}
</h1>
)
Expand Down

0 comments on commit 61e381c

Please sign in to comment.