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
I have faced this issue when the component that contains the above code get mounted and the issue pointing on .useMutation()
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
I found the issue
I accdently deleted the
I accdently deleted the
TRPCReactProvider wrapper from the layout