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
Using a function to set the tab label on a custom document view throws this error:
⨯ Error: Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.
{label: function label, href: ...}
^^^^^^^^^^^^^^
at stringify (<anonymous>)
at AsyncResource.runInAsyncScope (node:async_hooks:206:9)
Link to reproduction
No response
Environment Info
Describe the Bug
Using a function to set the tab label on a custom document view throws this error:
Reproduction Steps
Adapters and Plugins
No response
The text was updated successfully, but these errors were encountered: