Describe the bug#
This seems a little weird for me too. I observed below when working with tanstack-start
const resp = await mut.mutateAsync(data);
The above is not calling the function. but
await mut.mutateAsync(data);
is working fine.
Your minimal, reproducible example#
I don't have any
Steps to reproduce#
- Add const resp = before muation
Expected behavior#
Function should be called
How often does this bug happen?#
None
Screenshots or Videos#
No response
Platform#
- OS: Macos
- browser: ArcBrowser
Tanstack Query adapter#
None
TanStack Query version#
Lateste
TypeScript version#
No response
Additional context#
No response
It happens only if the variable
respis not used.