trpc.useQuery() succeeding but returning empty data?
Ive checked my db and the entries definitely exist. and the query is sending the right Id input to find a unique entry using the id.
But the
data
object in the useQuery result is undefined
3 Replies