davidgonmarD
tRPC3y ago
2 replies
davidgonmar

getInfiniteData returns undefined

I am using the t3-stack. Whenever I am calling getInfiniteData it returns undefined.
console.log(
    trpc.events.getAll.getInfiniteData()
  )

There is data, according to the React Query Devtools, so thats not the problem
Would love some help:)
Was this page helpful?