Error: Unexpected type of undefined
nextjs app, I'm using preloadQuery to load and render a query inside a Server Component:Then in my client component, I past the result into a
usePreloadedQuery.I'm observing that every time the hook is called, an error is thrown on the next line. If I remove the hook then the app runs fine.
Below is a screenshot of the error reported at the very next line where the rendering starts.
Is this perhaps a well-known bug?

