refactor: 🎨 deno fmt
This commit is contained in:
parent
d62305ac1d
commit
640f144417
|
@ -19,9 +19,7 @@ export function Markdown(
|
||||||
data-dark-theme='dark'
|
data-dark-theme='dark'
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: render(
|
__html: render(
|
||||||
typeof children === 'string'
|
typeof children === 'string' ? children : children?.value ?? '',
|
||||||
? children
|
|
||||||
: children?.value ?? '',
|
|
||||||
options,
|
options,
|
||||||
),
|
),
|
||||||
}}
|
}}
|
||||||
|
|
|
@ -38,7 +38,7 @@ export default function App({ Component }: PageProps) {
|
||||||
type='image/x-icon'
|
type='image/x-icon'
|
||||||
/>
|
/>
|
||||||
<link rel='stylesheet' href={asset('/main.css')} />
|
<link rel='stylesheet' href={asset('/main.css')} />
|
||||||
<link rel="stylesheet" href={asset('/imports/markdown_css')} />
|
<link rel='stylesheet' href={asset('/imports/markdown_css')} />
|
||||||
</Head>
|
</Head>
|
||||||
<body>
|
<body>
|
||||||
<Header />
|
<Header />
|
||||||
|
|
Loading…
Reference in a new issue