This commit is contained in:
Corwin Smith 2022-11-15 16:05:42 -07:00
parent 14900bcdfa
commit d096d10aba
1 changed files with 4 additions and 2 deletions

View File

@ -70,9 +70,11 @@ interface Props {
const DocPage: NextPage<Props> = ({ frontmatter, content }) => {
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>
</>
);
};