diff --git a/components/src/asciidoc/TableOfContents.tsx b/components/src/asciidoc/TableOfContents.tsx index d0b729a3..314fb85e 100644 --- a/components/src/asciidoc/TableOfContents.tsx +++ b/components/src/asciidoc/TableOfContents.tsx @@ -294,7 +294,7 @@ export const DesktopOutline = ({ } if (toc && toc.length > 0) { - return + return } return null @@ -352,13 +352,13 @@ export const SmallScreenOutline = ({ > - + Table of Contents{' '} - +
{renderToc(toc)}