When following this guide and specifying a getStaticProps function in my page that uses a layout, the page is rendered, but is not wrapped in the layout.
After removing the getStaticProps function or after removing withSuperjson from my Next.js configuration, the issue goes away, and both the page and layout are rendered.
When following this guide and specifying a
getStaticProps
function in my page that uses a layout, the page is rendered, but is not wrapped in the layout.After removing the
getStaticProps
function or after removingwithSuperjson
from my Next.js configuration, the issue goes away, and both the page and layout are rendered.I'm using Next.js 12.1.4 and next-superjson 0.0.2