Deprecate `createLayoutSwitchAuto`
Deprecate createLayoutSwitchAuto
Write a renderPage function switching on page.type instead, plain code with the same result:
renderPage: (props) => {
if (props.page.type === "blog") return <BlogPage {...props} />;
return <DocsPage {...props} />;
},Last updated on
