Skip to content

Commit

Permalink
docs: Remove unnecessary void operator (#2994)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunjae95 authored Feb 4, 2025
1 parent 0beabe5 commit 65402b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/guides/nextjs.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,10 @@ export const HomePage = () => {
<div>
Count: {count}
<hr />
<button type="button" onClick={() => void incrementCount()}>
<button type="button" onClick={incrementCount}>
Increment Count
</button>
<button type="button" onClick={() => void decrementCount()}>
<button type="button" onClick={decrementCount}>
Decrement Count
</button>
</div>
Expand Down Expand Up @@ -334,10 +334,10 @@ export const HomePage = () => {
<div>
Count: {count}
<hr />
<button type="button" onClick={() => void incrementCount()}>
<button type="button" onClick={incrementCount}>
Increment Count
</button>
<button type="button" onClick={() => void decrementCount()}>
<button type="button" onClick={decrementCount}>
Decrement Count
</button>
</div>
Expand Down

0 comments on commit 65402b0

Please sign in to comment.