pull/26459/head^2
Corwin Smith 2 years ago
parent 14900bcdfa
commit d096d10aba
  1. 6
      src/pages/[...slug].tsx

@ -70,9 +70,11 @@ interface Props {
const DocPage: NextPage<Props> = ({ frontmatter, content }) => { const DocPage: NextPage<Props> = ({ frontmatter, content }) => {
return ( return (
<> <>
<Heading as='h1'>{frontmatter.title}</Heading> <main>
<Heading as='h1'>{frontmatter.title}</Heading>
<ReactMarkdown components={MDXComponents}>{content}</ReactMarkdown> <ReactMarkdown components={MDXComponents}>{content}</ReactMarkdown>
</main>
</> </>
); );
}; };

Loading…
Cancel
Save