`useQuery` not working?
is it just me or does
i try to call it and it says client[procedure] is not a function
useQuery not work in my next js components?i try to call it and it says client[procedure] is not a function

Solution
Only applies if you're using t3 with app router:
If you're trying to use API in a client component then API needs to be imported from /trpc/react
If you're using API in an rsc or anything on the server, you import from /trpc/server
If you're trying to use API in a client component then API needs to be imported from /trpc/react
If you're using API in an rsc or anything on the server, you import from /trpc/server