No QueryClient set, use QueryClientProvider to set one
I followed the example with-trpc-react-query and the authenticated-routes, combined then but I got this error
But I can call trpc query without any issue
router.tsx
main.tsx
__root.tsx:
3 Replies
rival-blackOP•13mo ago
I m using
"@tanstack/react-query": "^5.51.23",
"@tanstack/react-router": "^1.45.6",
"@trpc/client": "^11.0.0-rc.477",
"@trpc/react-query": "^11.0.0-rc.477",
"@trpc/server": "^11.0.0-rc.477",
"@tanstack/react-query-devtools": "^5.51.23",
"@tanstack/router-devtools": "^1.48.1",
flat-fuchsia•13mo ago
do you still facing this problem ?
rival-blackOP•13mo ago
since no one gave me an answer yes 🙂
I will try to update the libs tonigh and see it happens
I upgraded the libs but still get this error