Skip to content

Commit 870e445

Browse files
committed
fix: delay timer in useDebounce hook
1 parent 38aa677 commit 870e445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/use-debounce.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const useDebounce = (value: string) => {
66
useEffect(() => {
77
const timeOut = setTimeout(() => {
88
setDebouncedValue(value);
9-
}, 250);
9+
}, 600);
1010

1111
return () => {
1212
clearTimeout(timeOut);

0 commit comments

Comments
 (0)