diff --git a/web/src/hooks/useDebounce.ts b/web/src/hooks/useDebounce.ts index 7d841820..349c1c87 100644 --- a/web/src/hooks/useDebounce.ts +++ b/web/src/hooks/useDebounce.ts @@ -16,7 +16,7 @@ export default function useDebounce any>(func: T, } }, []); - const run = useCallback((...args) => { + const run = useCallback((...args: any) => { cancel(); timer.current = window.setTimeout(() => { func(...args);