I have a useInfiniteQuery fetches the same duplicate data for the first 2 requests
Is there a scenario where a duplicate fetch of data would happen when using useInfiniteQuery?
2 Replies
eastern-cyan•16mo ago
Your api does not like your page param??
variable-limeOP•16mo ago
Kinda, but the problem was that I was using the url for my param and on first render I forgot to set the param, so until I set it onClick it just sends 0