File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,8 @@ import React from 'react';
22import Head from 'next/head' ;
33import Link from 'next/link' ;
44import { 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
98import getStaticMarkdownPaths from '~/lib/getStaticMarkdownPaths' ;
109import 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 >
You can’t perform that action at this time.
0 commit comments