Skip to content
This repository was archived by the owner on Jul 8, 2023. It is now read-only.

Commit

Permalink
📝 debounce-handler: update demo [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Kir Belevich committed Aug 1, 2017
1 parent f14826e commit a3ce8c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/debounce-handler/demo/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ export default compose(
withHandlers({
onButtonClick: ({ count, setCount }) => () => setCount(count + 1)
}),
debounceHandler('onButtonClick', 300, true)
debounceHandler('onButtonClick', 300)
)(Demo);
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export default compose(
withHandlers({
onButtonClick: ({ count, setCount }) => () => setCount(count + 1)
}),
debounceHandler('onButtonClick', 300, true)
debounceHandler('onButtonClick', 300)
)(Demo);
```
Expand Down

0 comments on commit a3ce8c6

Please sign in to comment.