Invariant failed: createServerFn must be called with a function that is marked with the 'use server' pragma. #2434
Replies: 2 comments 2 replies
-
this looks like a bug in our compiler. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Bug report : |
Beta Was this translation helpful? Give feedback.
0 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.
-
This server function:
results in :
while it works for:
I am curious what is the reason?
Beta Was this translation helpful? Give feedback.
All reactions