You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".
{submitUserMessage: function}
at stringify (<anonymous>)
...and I do not see where the issue might be – since I'm using 'use server' in submitUserMessage().
Maybe someone here could give me a hint (thanks in advance!).
Here's how my code looks like (I cannot spot any significant difference with the source code in this repo):
Hi,
I am experiencing the following error:
...and I do not see where the issue might be – since I'm using
'use server'
insubmitUserMessage()
.Maybe someone here could give me a hint (thanks in advance!).
Here's how my code looks like (I cannot spot any significant difference with the source code in this repo):
and
Edit:
The text was updated successfully, but these errors were encountered: