Skip to content

Commit

Permalink
Improve counter
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemian Deng committed Jun 2, 2022
1 parent b1ab2de commit f06caf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/gui/Counter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function Counter () {
const onAction = () => setCount(count + 1);
return (
<div>
<p>{count}</p>
<p>Counter: {count}</p>
<oj-button onojAction={onAction}>Count</oj-button>
</div>
);
Expand Down

0 comments on commit f06caf1

Please sign in to comment.