separated function cannot be added as a queryFunction
Hello!
I currently have the problem that my separate function that makes the API call is not declared as queryFunction.
The function:
I include them as follows:
But I get this error:
If i include the function directly like this ...
... then it works without any problems. What am I doing wrong here?
[NextJS 13.4, App Router]
0 Replies