Skip to content

Commit

Permalink
docs: move decrement to the left side (#673)
Browse files Browse the repository at this point in the history
This makes more sense for left-to-right language readers I think.
  • Loading branch information
kentcdodds authored Dec 11, 2024
1 parent d89b5ad commit 568a63d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/www/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ function CustomCounter(props, { state }) {
return (
<>
<div>Counter: {count.value}</div>
<button onClick={() => count.value++}>
Increment
</button>
<button onClick={() => count.value--}>
Decrement
</button>
<button onClick={() => count.value++}>
Increment
</button>
</>
);
}
Expand Down

0 comments on commit 568a63d

Please sign in to comment.