Skip to content

Commit

Permalink
fix: debounce increased from 100ms to 300ms (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuiSanto authored Dec 30, 2022
1 parent 083f45d commit 1bc9650
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const ListOfCards = React.memo(() => {
useEffect(() => {
const timer = setTimeout(() => {
fetchUsers.refetch();
}, 100);
}, 300);
return () => clearTimeout(timer);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [search]);
Expand Down

0 comments on commit 1bc9650

Please sign in to comment.