Can't get client to work
Hi,
I can't get my client to work I'm using Next.js but I have also tried the React method from the docs.
mutations and query property is missing.
3 Replies
Postman is working fine
what do you mean missing, is there no
useQuery
on the fetchAssets
? Also, if you're using next.js why are you creating a standalone http server?Yeah, there’s no useQuery on fetchAssets and I’m using standalone because we have other dependencies and event streams that only work in standalone environment
Fixed it! @trpc/client version was mismatched it was on proxy-beta.10 upgraded to latest
Closing post