Skip to content

Commit

Permalink
chore(useTimeout): typing
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-avila committed Dec 7, 2024
1 parent d942458 commit c5a4732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/hooks/useTimeout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function useTimeout({ callback, delay = 400 }: TUseTimeoutParams) {
}

// Set new timeout
if (value) {
if (value != null && value) {
console.log(value);
timeout.current = setTimeout(() => {
callback(value);
Expand Down

0 comments on commit c5a4732

Please sign in to comment.