Skip to content

Commit

Permalink
Merge pull request #14 from modern-agile-team/document
Browse files Browse the repository at this point in the history
fix(react): DebounceWrapper
  • Loading branch information
ssi02014 authored Apr 20, 2024
2 parents 7cebcde + 562a6ad commit 59a25e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/DebounceWrapper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 59a25e0

Please sign in to comment.