Error: Unable to find tRPC Context. Did you forget to wrap your App inside `withTRPC` HoC?
I have created a brand new project with t3-app using next.js and trpc with app router
const update = api.users.update.useMutation({});I have faced this issue when the component that contains the above code get mounted and the issue pointing on .useMutation()
Solution:Jump to solution
I found the issue
I accdently deleted the
TRPCReactProvider
wrapper from the layout...2 Replies