From 67f9c6e621f9d11ee7b65f95a83e476e71cd6467 Mon Sep 17 00:00:00 2001 From: Manmeet Nagi <143264649+manmeetnagii@users.noreply.github.com> Date: Wed, 11 Dec 2024 11:44:08 +0530 Subject: [PATCH] fix infinite loading (#9354) --- src/components/Form/AutoCompleteAsync.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Form/AutoCompleteAsync.tsx b/src/components/Form/AutoCompleteAsync.tsx index 48c36258765..1420b02317a 100644 --- a/src/components/Form/AutoCompleteAsync.tsx +++ b/src/components/Form/AutoCompleteAsync.tsx @@ -92,7 +92,7 @@ const AutoCompleteAsync = (props: Props) => { useEffect(() => { fetchDataDebounced(query); - }, [query, fetchDataDebounced]); + }, [query]); return (