I was building out a .mdx page and wanted to use the LandingLayout page template. When I use this template the OpenApiCodeSample will error with Incorrect definitionId:. If I remove using the template then it works just fine.
Can I use the LandingLayout or do I need to create another template instead?
I was building out a .mdx page and wanted to use the LandingLayout page template. When I use this template the
OpenApiCodeSample
will error withIncorrect definitionId:
. If I remove using the template then it works just fine.Can I use the
LandingLayout
or do I need to create another template instead?.mdx file
Whether I move the
export default LandingLayout;
to the top or bottom of the page I get the same error. I noticed in the index.mdx file that the import is at the top https://github.com/Redocly/developer-portal-starter/blame/main/index.mdx#L27