Skip to content

Commit

Permalink
fix: infinite loading (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Mar 22, 2023
1 parent f76fb95 commit 159f1d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

4 comments on commit 159f1d5

@vercel
Copy link

@vercel vercel bot commented on 159f1d5 Mar 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sdk-react – ./packages/react

sdk-react.vercel.app
sdk-react-microlink.vercel.app
sdk-react-git-master-microlink.vercel.app
sdk-react.microlink.io

@vercel
Copy link

@vercel vercel bot commented on 159f1d5 Mar 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sdk-vanilla – ./packages/vanilla

sdk-vanilla-git-master-microlink.vercel.app
sdk-vanilla-microlink.vercel.app
sdk-vanilla.microlink.io
sdk-vanilla.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 159f1d5 Mar 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 159f1d5 Mar 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sdk-hover-vanilla – ./packages/hover-vanilla

Please sign in to comment.