AlexVern
AlexVern11mo 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
AlexVern11mo ago
res from tRPC
rocawear
rocawear11mo ago
Sorry I have no idea but you have baseUrl: "/rtpc", should it be "/trpc"
AlexVern
AlexVern11mo ago
well, there was few test with baseUrl, non on them returns correct data