mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-13 03:26:38 +00:00
add main
This commit is contained in:
parent
14900bcdfa
commit
d096d10aba
1 changed files with 4 additions and 2 deletions
|
|
@ -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…
Reference in a new issue