Skip to content

Commit 891f530

Browse files
author
babin
committed
main 🧊 rework throttle demo time
1 parent fdc9117 commit 891f530

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/hooks/useThrottleValue/useThrottleValue.demo.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useThrottleValue } from './useThrottleValue';
44
const Demo = () => {
55
const counter = useCounter();
66

7-
const throttledCounterCount = useThrottleValue(counter.value, 2000);
7+
const throttledCounterCount = useThrottleValue(counter.value, 1000);
88

99
return (
1010
<div>

0 commit comments

Comments
 (0)