VengeanceV
tRPC3y ago
7 replies
Vengeance

useQuery in App Router?

I have a client component that I want to use useQuery in like in pages router, but only query is available
Solution
where are you importing api from? You have to make sure you import it from /trpc/react.ts
Was this page helpful?