diff --git a/packages/react/src/index.js b/packages/react/src/index.js index f66fed67..9834d42b 100644 --- a/packages/react/src/index.js +++ b/packages/react/src/index.js @@ -156,7 +156,7 @@ microlink.io/${error.code.toLowerCase()} } }, [apiUrlProps, fetchData, apiUrl, mergeData, canFetchData]) - useEffect(toFetchData, [toFetchData, url, setData, hasIntersected]) + useEffect(toFetchData, [url, setData, hasIntersected]) const isLoading = isLoadingUndefined ? loadingState : loading