diff --git a/components/article/ArticlePage.tsx b/components/article/ArticlePage.tsx index 73c25d61c45d..d0644994488a 100644 --- a/components/article/ArticlePage.tsx +++ b/components/article/ArticlePage.tsx @@ -43,16 +43,20 @@ export const ArticlePage = () => { const { t } = useTranslation('pages') const currentPath = router.asPath.split('?')[0] + const RenderHTML = (props: { html: any }) => ( +
+ ) + const renderTocItem = (item: MiniTocItem) => { return (