AlexVern
AlexVern15mo ago

tRPC & redux toolkit query

Node 18, pnpm, ts, vite, toolkit. Cant find any proper info how to use tRPC with toolkit query; If I do just a simple req in component via client.users.getUser() it works perfect, but with toolkit got this issues.
3 Replies
AlexVern
AlexVern15mo ago
res from tRPC
rocawear
rocawear15mo ago
Sorry I have no idea but you have baseUrl: "/rtpc", should it be "/trpc"
AlexVern
AlexVern15mo ago
well, there was few test with baseUrl, non on them returns correct data