Closed
Description
Describe the bug
If I use useQuery hook always throw an error Cannot read properties of undefined (reading 'getStreamedValue')
. Even a dummy hook without external fetch. Mutation works all good.
Your minimal, reproducible example
https://codesandbox.io/p/github/DeltaTypes/vch-kpi-platform/feat/vechiel-template-form-xlsx
Steps to reproduce
- Go to app folder
- Up docker compose
docker-compose up -d
- Execute
npm run db:migrate-dev
- Execute
npm run prisma:seed
- Login with a Admin user (see Seed folder for admin seed)
- Go to Fleet tab on Header
- See the error
Expected behavior
Use of useQuery without any error as useMutation works.
How often does this bug happen?
Every time
Screenshots or Videos
Platform
Windows
Browser: Vivaldi and Google Chrome
Tanstack Query adapter
None
TanStack Query version
latest
TypeScript version
^5.7.2
Additional context
No response