From 562a6ad247f0adcd2a943a2ad29606b88c8c7cdd Mon Sep 17 00:00:00 2001 From: ssi02014 Date: Sun, 21 Apr 2024 05:04:40 +0900 Subject: [PATCH] fix(react): DebounceWrapper --- packages/react/src/components/DebounceWrapper/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/components/DebounceWrapper/index.tsx b/packages/react/src/components/DebounceWrapper/index.tsx index e64bfe8a7..99b5ceeeb 100644 --- a/packages/react/src/components/DebounceWrapper/index.tsx +++ b/packages/react/src/components/DebounceWrapper/index.tsx @@ -17,7 +17,7 @@ export const DebounceWrapper = ({ // If children is a valid element, returns that element. Otherwise, throws an error. const child = Children.only(children); const debouncedCallback = useDebounce( - (...args: any) => { + (...args: any[]) => { const childProps = child?.props; if (!childProps) return;