Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const Page = ({ content }) => {
return (
<div>
<section>{hydrate(content)}</section>
</div>
);
};
export default function DocsPage({
productName,
productSlug,
subpath,
order,
staticProps: { mdxSource, data, frontMatter, pagePath, filePath },
}) {
const content = hydrate(mdxSource, {
components: generateComponents(productName),
})
return (
<>