We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The folloing error.tsx and loading.tsx fails and gives the following error
Unhandled Runtime Error 1 of 1 Error: Functions cannot be passed directly to Client Components because they're not serializable. <... parallelRouterKey=... segmentPath=... error={function} errorStyles=... loading=... loadingStyles=... hasLoading=... template=... templateStyles=... notFound=... notFoundStyles=... childProp=... rootLayoutIncluded=...> ^^^^^^^^^^
The text was updated successfully, but these errors were encountered:
Just found out the solution.
"use client";
check this out
Sorry, something went wrong.
No branches or pull requests
The folloing
error.tsx and loading.tsx fails and gives the following error
Unhandled Runtime Error
1 of 1
Error: Functions cannot be passed directly to Client Components because they're not serializable.
<... parallelRouterKey=... segmentPath=... error={function} errorStyles=... loading=... loadingStyles=... hasLoading=... template=... templateStyles=... notFound=... notFoundStyles=... childProp=... rootLayoutIncluded=...>
^^^^^^^^^^
The text was updated successfully, but these errors were encountered: