Replies: 1 comment 2 replies
-
|
can you please share a complete minimal reproducer project as a git repo? also, you should use the query integration https://tanstack.com/router/latest/docs/integrations/query |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I defined some server functions like this:
Then, I try to import from
src/router.tsxso that I can inject the session as router context:And I get an error in my browser console:
Is this a bug, or am I misusing the framework by trying to import server functions here? I'm inclined to think it's a bug because the error is being thrown from a function that I'm not actually calling (the stack trace points to the call to
.handler()inlistActiveSubscriptions).Beta Was this translation helpful? Give feedback.
All reactions