mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-01 00:53:47 +00:00
linting
This commit is contained in:
parent
95ab538776
commit
f66ca930f5
2 changed files with 5 additions and 4 deletions
|
|
@ -9,11 +9,10 @@ import { ParsedUrlQuery } from 'querystring';
|
|||
import type { GetStaticPaths, GetStaticProps, NextPage } from 'next';
|
||||
|
||||
import MDXComponents from '../components/';
|
||||
import { Breadcrumbs } from '../components/docs'
|
||||
import { Breadcrumbs } from '../components/docs';
|
||||
import { PageMetadata } from '../components/UI';
|
||||
import { textStyles } from '../theme/foundations';
|
||||
|
||||
|
||||
const MATTER_OPTIONS = {
|
||||
engines: {
|
||||
yaml: (s: any) => yaml.load(s, { schema: yaml.JSON_SCHEMA }) as object
|
||||
|
|
@ -87,7 +86,9 @@ const DocPage: NextPage<Props> = ({ frontmatter, content }) => {
|
|||
</Heading>
|
||||
{/* <Text as='span' mt='0 !important'>last edited {TODO: get last edited date}</Text> */}
|
||||
</Stack>
|
||||
<ReactMarkdown remarkPlugins={[gfm]} components={ChakraUIRenderer(MDXComponents)}>{content}</ReactMarkdown>
|
||||
<ReactMarkdown remarkPlugins={[gfm]} components={ChakraUIRenderer(MDXComponents)}>
|
||||
{content}
|
||||
</ReactMarkdown>
|
||||
</main>
|
||||
</>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ export const textStyles = {
|
|||
'header-button': {
|
||||
fontFamily: '"JetBrains Mono", monospace',
|
||||
fontWeight: 700,
|
||||
fontSize: { base: '0.86rem', sm: '1rem' },
|
||||
fontSize: { base: '0.86rem', sm: '1rem' }
|
||||
},
|
||||
'header-mobile-button': {
|
||||
fontFamily: '"JetBrains Mono", monospace',
|
||||
|
|
|
|||
Loading…
Reference in a new issue