We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ab6298 commit 301a42fCopy full SHA for 301a42f
docs/api/hooks.md
@@ -185,7 +185,7 @@ export const CounterComponent = ({ value }) => {
185
<div>
186
<span>{value}</span>
187
<button onClick={increase}>Increase counter</button>
188
- <button onClick={() => increase(5)}>Increase counter by 5</button>
+ <button onClick={() => increaseBy(5)}>Increase counter by 5</button>
189
<button onClick={decrease}>Decrease counter</button>
190
</div>
191
)
0 commit comments