Skip to content

Commit 0ae7205

Browse files
committed
fixing imports
1 parent 166fade commit 0ae7205

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pages/blog/posts/[slug].page.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ import React from 'react';
22
import Head from 'next/head';
33
import Link from 'next/link';
44
import { getLayout } from '~/components/SiteLayout';
5-
import StyledMarkdown, {
6-
TableOfContentMarkdown,
7-
} from '~/components/StyledMarkdown';
5+
import StyledMarkdown from '~/components/StyledMarkdown';
6+
import { TableOfContents } from '~/components/markdown';
87

98
import getStaticMarkdownPaths from '~/lib/getStaticMarkdownPaths';
109
import getStaticMarkdownProps from '~/lib/getStaticMarkdownProps';
@@ -104,7 +103,7 @@ export default function StaticMarkdownPage({
104103
<div className='uppercase text-xs text-slate-400 mb-4'>
105104
on this page
106105
</div>
107-
<TableOfContentMarkdown markdown={content} depth={0} />
106+
<TableOfContents markdown={content} depth={0} />
108107
</div>
109108
<CarbonAds variant='sidebar' />
110109
</div>

0 commit comments

Comments
 (0)